2020-06-15 00:33:41 -04:00
|
|
|
# This test is meant to confirm some basic redo functionality
|
|
|
|
|
# related to static files not in the build tree. But if your
|
|
|
|
|
# system doesn't happen to have stdio.h in the usual location,
|
|
|
|
|
# let's not explode just for that.
|
|
|
|
|
stdio=/usr/include/stdio.h
|
|
|
|
|
[ -e "$stdio" ] || stdio=
|
|
|
|
|
|
|
|
|
|
redo-ifchange CC hello.c $stdio
|
2010-11-13 01:22:11 -08:00
|
|
|
redo-ifcreate stdio.h
|
2012-02-08 00:33:00 -05:00
|
|
|
../sleep 3
|
2010-11-12 05:24:46 -08:00
|
|
|
./CC hello.c
|