diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-09-14 12:43:57 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-09-14 12:49:03 -0400 |
commit | 170aa3df69a64544ef5fcc24ac22de1aa7303562 (patch) | |
tree | c2363bb7e3b7d1db9d7c480a8d7c6d133a6e643d /build/config.mk | |
parent | 19ed06ea234c50b8e4160dcb3b6cd8fa9cc159df (diff) | |
download | bfs-170aa3df69a64544ef5fcc24ac22de1aa7303562.tar.xz |
build: Remove gen/deps.mk
Since commit 3552b79 ("build/flags: Infrastructure to detect compiler
flag support"), this file only listed a bunch of lines like
-include obj/src/alloc.d
-include obj/src/bar.d
...
We can do that just as well from the main Makefile, and in one line too:
-include ${OBJS:.o=.d}
This lets us pull the list of all objects out of build/prelude.mk and
put it closer to where those objects are actually used.
Diffstat (limited to 'build/config.mk')
-rw-r--r-- | build/config.mk | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/build/config.mk b/build/config.mk index 86a4861..6296168 100644 --- a/build/config.mk +++ b/build/config.mk @@ -14,7 +14,6 @@ config: gen/config.mk MKS := \ gen/vars.mk \ gen/flags.mk \ - gen/deps.mk \ gen/pkgs.mk # The main configuration file, which includes the others @@ -47,11 +46,6 @@ gen/flags.mk: gen/vars.mk @+XMAKEFLAGS="$$MAKEFLAGS" ${MAKE} -sf build/flags.mk $@ .PHONY: gen/flags.mk -# Check for dependency generation support -gen/deps.mk: gen/flags.mk - @+XMAKEFLAGS="$$MAKEFLAGS" ${MAKE} -sf build/deps.mk $@ -.PHONY: gen/deps.mk - # Auto-detect dependencies and their build flags gen/pkgs.mk: gen/flags.mk @+XMAKEFLAGS="$$MAKEFLAGS" ${MAKE} -sf build/pkgs.mk $@ |