aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-02-12 17:28:33 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-02-12 17:28:33 +0200
commit878cdffb3f69c780cb55f1fbb54747d9066a385a (patch)
treecd8bb7352bdb6d14ed20f5aa2d3d0e649f0f0427 /Makefile
parentMake shadowing variables an error (diff)
downloadkernel-878cdffb3f69c780cb55f1fbb54747d9066a385a.tar.xz
Generate dependency files for source code
Use the compiler to generate dependency files for all C, C++ and .S assembly source code files. These are included in the makefiles where the files are used.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0e0474f..33b5f76 100644
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,8 @@ info: Makefile.config
run: Makefile.config
@${MAKE} -f Makefile.all $@
-doc: FORCE
- doxygen doxygen.config
+doc: doxygen.config
+ doxygen $<
clean:
@${MAKE} -C lib clean
@@ -40,8 +40,6 @@ clean:
@${MAKE} -C src clean
test:
- @echo " -> Looking for inline assembly in src/ and lib/"
- @grep -rn 'asm' devices src lib
@echo " -> Running tests in src"
@make -C src test > /dev/null
@echo " -> Running tests in lib"