diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-30 15:07:06 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-30 15:07:06 -0400 |
commit | 1f06941a7cc586c78152ca67dec0551106977b08 (patch) | |
tree | 4ebedfe5ed59fafae32e337eff73758828ff82f7 /build/deps.mk | |
parent | 37caa3d71fd8bb4d0d9204e4a2f5cac234fa25fd (diff) | |
download | bfs-1f06941a7cc586c78152ca67dec0551106977b08.tar.xz |
build: Listen to make -s
Diffstat (limited to 'build/deps.mk')
-rw-r--r-- | build/deps.mk | 8 |
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} >>$@ |