Use $(MAKE) instead of make in Makefiles
This will pass the correct flags to the make invocations.
This commit is contained in:
parent
b3d78bd5f6
commit
3fa30842ed
4
Makefile
4
Makefile
@ -133,10 +133,10 @@ tidy:
|
||||
|
||||
clean:
|
||||
rm -f $(OUT)/libhardened_malloc.so $(OBJECTS)
|
||||
make -C test/ clean
|
||||
$(MAKE) -C test/ clean
|
||||
|
||||
test: $(OUT)/libhardened_malloc$(SUFFIX).so
|
||||
make -C test/
|
||||
$(MAKE) -C test/
|
||||
python3 -m unittest discover --start-directory test/
|
||||
|
||||
.PHONY: check clean tidy test
|
||||
|
@ -23,8 +23,8 @@ EXECUTABLES := \
|
||||
large_array_growth
|
||||
|
||||
all: $(EXECUTABLES)
|
||||
make -C simple-memory-corruption
|
||||
$(MAKE) -C simple-memory-corruption
|
||||
|
||||
clean:
|
||||
rm -f $(EXECUTABLES)
|
||||
make -C simple-memory-corruption clean
|
||||
$(MAKE) -C simple-memory-corruption clean
|
||||
|
Loading…
Reference in New Issue
Block a user