aboutsummaryrefslogtreecommitdiffstats
path: root/.compile.do
diff options
context:
space:
mode:
Diffstat (limited to '.compile.do')
-rwxr-xr-x.compile.do2
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