3 # 12.07.2007 Volker Quetschke
4 # Make sure that intermediate targets get created. BUG: If an intermediate
5 # %-target does not exist it inherits the time stamp of it's parent and
7 # Recipe: Create ptarget.c and then (newer) ptarget.a but ptarget.b did
16 tmpfiles
="$file1 $file2 $file3 $file4"
18 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
20 # Remove files from prior failed run
23 # Create test environment
27 # Remember to quote variables in generated makefiles( $ -> \$ ).
48 output1
=`eval ${DMAKEPROG} -rf $file1 2>&1 `
51 if test "$output1" != "OKdone"; then
52 echo "Wrong result: $output1"
58 if test $result1 -eq 0 ; then
59 echo "Success - Cleaning up"