]> Cypherpunks.ru repositories - goredo.git/blob - t/apenwarr/111-example/CC.do
Import tests from apenwarr/redo and redo.sh
[goredo.git] / t / apenwarr / 111-example / CC.do
1 redo-ifchange config.sh
2 . ./config.sh
3 exec >$3
4 cat <<-EOF
5         redo-ifchange \$2.c
6         cc $CFLAGS -MD -MF \$3.deps -o \$3 -c \$2.c
7         read DEPS <\$3.deps
8         rm -f \$3.deps
9         redo-ifchange \${DEPS#*:}
10 EOF
11 chmod +x $3