summaryrefslogtreecommitdiffstats
path: root/build/deps.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-21 12:11:08 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-21 12:51:37 -0400
commit4bc79148e2ed23273afefaf439a03364d5161046 (patch)
tree4e996b7e46e56e28bb6d137db49b8fae139189eb /build/deps.mk
parent4bc06bd999786da359a05801bf9106597fe57298 (diff)
downloadbfs-4bc79148e2ed23273afefaf439a03364d5161046.tar.xz
build: Save cc.sh build products to gen/
Diffstat (limited to 'build/deps.mk')
-rw-r--r--build/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/deps.mk b/build/deps.mk
index d382f5d..a6ea673 100644
--- a/build/deps.mk
+++ b/build/deps.mk
@@ -11,7 +11,7 @@ include build/exports.mk
gen/deps.mk::
${MSG} "[ GEN] $@"
@printf '# %s\n' "$@" >$@
- @if build/cc.sh -MD -MP -MF /dev/null build/empty.c; then \
+ @if build/cc.sh -MD -MP build/empty.c -o gen/.deps.out; then \
printf '_CPPFLAGS += -MD -MP\n'; \
fi >>$@ 2>$@.log
${VCAT} $@