4 echo "Usage: $0 [--debug][--valgrind] path/to/file.c"
9 if [[ "$1" == "--debug" ]] ; then
12 elif [[ "$1" == "--debug-implied" ]] ; then
13 POST
="$POST --debug-implied"
15 elif [[ "$1" == "--valgrind" ]] ; then
24 if [[ "$cname" == "" ]] ; then
27 if ! test -e $cname ; then
31 oname
=$
(echo ${cname/.c/.o})
33 make C
=y CHECK
="$PRE smatch $POST" $oname