diff options
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -65,6 +65,7 @@ list-targets: @echo " SRCS: ${$(basename $@).SRCS}" @echo " OBJS: ${$(basename $@).OBJS}" @echo " DEPS: ${$(basename $@).DEPS}" + @echo " LD ${${ARCH}_LDFLAGS}" all: ${DEFAULT_TARGETS} @echo " -> Built all in ${COMPONENT}" @@ -131,13 +132,11 @@ valgrind.quiet: ${TESTS} @echo " -> Running valgrind on tests in $(shell pwd | xargs basename)" @../scripts/test_runner.py --valgrind ${TESTS} -clean.base: FORCE +clean: FORCE @echo " -> Cleaning $(shell pwd | xargs basename)" @$(foreach V,$(filter %.OBJS, ${.VARIABLES}), rm -rf $($(V))) @$(foreach V,$(filter %.DEPS, ${.VARIABLES}), rm -rf $($(V))) - @rm -rf *.a + @rm -rf *.a ${CLEAN_FILES} @rm -rf ${TESTS} -%: %.base ; - FORCE: ; |