aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-06-29 21:45:11 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-06-29 21:45:11 +0300
commiteb84566d236df6b0dd4f5ce8fc47d66e55e33654 (patch)
tree7e03ca126781c67336edf9f3ce6888aad23f74e4 /rules.mk
parentRework leaf makefiles to be included from top-level (diff)
downloadkernel-eb84566d236df6b0dd4f5ce8fc47d66e55e33654.tar.xz
Fix compiler warnings
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: ;