aboutsummaryrefslogtreecommitdiffstats
path: root/default.o.do
blob: c457bc56af8f51b0b74530a90a5b7505d1580266 (plain)
1
2
3
4
5
6
#!/bin/bash -e
src=${1%.o}.c
redo-ifchange .compile .parse-depfile "$src"
sed -n 's|.*@BUILD_DEP \(.*\)|\1|p' "$src" | tr '\n' '\0' | xargs -r0 redo-ifchange
. ./.compile
./.parse-depfile "${1%.o}.d" | tr '\n' '\0' | xargs -r0 redo-ifchange