Rename 111-compile to 111-compile2.
Not a great name, but make it obvious that this is a slightly different test from 110-compile.
This commit is contained in:
parent
1f304f4d1d
commit
34ce233f5e
11 changed files with 0 additions and 0 deletions
11
t/111-compile2/CC.do
Normal file
11
t/111-compile2/CC.do
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
redo-ifchange config.sh
|
||||
. ./config.sh
|
||||
exec >$3
|
||||
cat <<-EOF
|
||||
redo-ifchange \$2.c
|
||||
gcc $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