0031-tflag.sh (290B)
1 #!/bin/sh 2 3 trap 'rm -f $tmp1 $tmp2 print-makeflags-always' EXIT INT TERM QUIT HUP 4 5 tmp1=tmp1.$$ 6 tmp2=tmp2.$$ 7 8 cat > $tmp2 <<EOF 9 -t 10 touch print-makeflags-always 11 EOF 12 13 MAKEFLAGS=-t scc make -f test.mk print-makeflags-always > $tmp1 2>&1 14 15 diff -u $tmp1 $tmp2 && test -f print-makeflags-always