summaryrefslogtreecommitdiffstats
path: root/build/deps.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-30 15:07:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-30 15:07:06 -0400
commit1f06941a7cc586c78152ca67dec0551106977b08 (patch)
tree4ebedfe5ed59fafae32e337eff73758828ff82f7 /build/deps.mk
parent37caa3d71fd8bb4d0d9204e4a2f5cac234fa25fd (diff)
downloadbfs-1f06941a7cc586c78152ca67dec0551106977b08.tar.xz
build: Listen to make -s
Diffstat (limited to 'build/deps.mk')
-rw-r--r--build/deps.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/deps.mk b/build/deps.mk
index e8dd9fb..3db62b6 100644
--- a/build/deps.mk
+++ b/build/deps.mk
@@ -10,9 +10,9 @@ 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 \
- printf 'DEPFLAGS := -MD -MP\n'; \
+ @printf '# %s\n' "$@" >$@
+ @if build/cc.sh -MD -MP -MF /dev/null build/empty.c; then \
+ printf 'CPPFLAGS += -MD -MP\n'; \
fi >>$@ 2>$@.log
${VCAT} $@
- printf -- '-include %s\n' ${OBJS:.o=.d} >>$@
+ @printf -- '-include %s\n' ${OBJS:.o=.d} >>$@