4 echo "Usage: $0 [--sparse][--valgrind][--debug] path/to/file.c"
11 if [[ "$1" == "--sparse" ]] ; then
14 elif [[ "$1" == "--valgrind" ]] ; then
17 elif [[ "$1" == "" ]] ; then
20 if [[ "$1" == "--help" ]] ; then
24 if echo $1 |
grep -q ^
- ; then
34 if [[ "$cname" == "" ]] ; then
37 if ! test -e $cname ; then
41 oname
=$
(echo ${cname/.c/.o})
43 make C
=y CHECK
="$PRE $CMD $POST" $oname