diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-07-18 13:10:55 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-07-18 13:10:55 +0100 |
commit | 311ca1db4ad68c7fb8b993640fda0de057387f2d (patch) | |
tree | 26e1eb5be4c84df07210654dadc69556f7acc709 /.compile.do | |
parent | 6e0b9525916b59e6053ec4dc2cb1b0e96c55afcb (diff) | |
download | pack-311ca1db4ad68c7fb8b993640fda0de057387f2d.tar.gz pack-311ca1db4ad68c7fb8b993640fda0de057387f2d.tar.xz pack-311ca1db4ad68c7fb8b993640fda0de057387f2d.zip |
Do not store .d files permanently. Use tempfiles
Diffstat (limited to '.compile.do')
-rwxr-xr-x | .compile.do | 2 |
1 files changed, 1 insertions, 1 deletions
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 |