add link to projects using redo; fix t/example mention (#20)
also rename t/111-compile2 to t/111-example
This commit is contained in:
parent
2a936a7574
commit
59eb7e8f1e
12 changed files with 7 additions and 6 deletions
11
t/111-example/CC.do
Normal file
11
t/111-example/CC.do
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
redo-ifchange config.sh
|
||||
. ./config.sh
|
||||
exec >$3
|
||||
cat <<-EOF
|
||||
redo-ifchange \$2.c
|
||||
cc $CFLAGS -MD -MF \$3.deps -o \$3 -c \$2.c
|
||||
read DEPS <\$3.deps
|
||||
rm -f \$3.deps
|
||||
redo-ifchange \${DEPS#*:}
|
||||
EOF
|
||||
chmod +x $3
|
||||
Loading…
Add table
Add a link
Reference in a new issue