From 311ca1db4ad68c7fb8b993640fda0de057387f2d Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sun, 18 Jul 2021 13:10:55 +0100 Subject: Do not store .d files permanently. Use tempfiles --- .compile.do | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.compile.do') diff --git a/.compile.do b/.compile.do index a249c44..6634b55 100755 --- a/.compile.do +++ b/.compile.do @@ -4,5 +4,5 @@ redo-ifchange .vars.rc exec >"$3" echo "# generated by $0" declare -p CC CFLAGS CPPFLAGS -echo '"$CC" -MMD -MF "${1%.o}.d" "${CFLAGS[@]}" "${CPPFLAGS[@]}" -c -o "$3" "${1%.o}.c"' +echo '"$CC" -MMD -MF "$depfile" "${CFLAGS[@]}" "${CPPFLAGS[@]}" -c -o "$3" "${1%.o}.c"' if command -v redo-stamp &>/dev/null; then redo-stamp <"$3"; fi -- cgit v1.2.3-54-g00ecf