diff options
author | aqua <aqua@iserlohn-fortress.net> | 2023-02-12 17:28:33 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2023-02-12 17:28:33 +0200 |
commit | 878cdffb3f69c780cb55f1fbb54747d9066a385a (patch) | |
tree | cd8bb7352bdb6d14ed20f5aa2d3d0e649f0f0427 /Makefile.all | |
parent | Make shadowing variables an error (diff) | |
download | kernel-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.all')
-rw-r--r-- | Makefile.all | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.all b/Makefile.all index efd7386..ae7bbba 100644 --- a/Makefile.all +++ b/Makefile.all @@ -7,8 +7,8 @@ include Makefile.config LDFLAGS += -T ${ARCH}/linker.ld -all: glitch.elf - @echo "built $^" +TARGETS += glitch.elf +include rules.mk .PHONY: run info run: glitch.iso @@ -56,4 +56,3 @@ devices/devs.a: FORCE src/kernel.a: FORCE @${MAKE} -C src kernel.a -include rules.mk |