aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/rules.mk b/rules.mk
index f8ad6d9..3f750f8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -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: ;