scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

scc.sh (188B)


      1 #!/bin/sh
      2 
      3 if test -z $SCCPREFIX
      4 then
      5 	SCCPREFIX=`dirname $0`/..
      6 	export SCCPREFIX
      7 fi
      8 
      9 case $0 in
     10 *cpp)
     11 	exec $SCCPREFIX/bin/scc-cc -E $@
     12 	;;
     13 *scc)
     14 	exec $SCCPREFIX/bin/scc-cc $@
     15 	;;
     16 esac