summaryrefslogtreecommitdiffstats
path: root/build/deps.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-09-14 12:43:57 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-09-14 12:49:03 -0400
commit170aa3df69a64544ef5fcc24ac22de1aa7303562 (patch)
treec2363bb7e3b7d1db9d7c480a8d7c6d133a6e643d /build/deps.mk
parent19ed06ea234c50b8e4160dcb3b6cd8fa9cc159df (diff)
downloadbfs-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/deps.mk')
-rw-r--r--build/deps.mk15
1 files changed, 0 insertions, 15 deletions
diff --git a/build/deps.mk b/build/deps.mk
deleted file mode 100644
index b49e592..0000000
--- a/build/deps.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright © Tavian Barnes <tavianator@tavianator.com>
-# SPDX-License-Identifier: 0BSD
-
-# Makefile that generates gen/deps.mk
-
-include build/prelude.mk
-include gen/vars.mk
-include gen/flags.mk
-include build/exports.mk
-
-gen/deps.mk::
- ${MSG} "[ GEN] $@"
- @printf '# %s\n' "$@" >$@
- @printf -- '-include %s\n' ${OBJS:.o=.d} >>$@
- ${VCAT} $@