scc

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

update.sh (121B)


      1 #!/bin/sh
      2 
      3 for i
      4 do
      5 	(echo '/^PATTERN/+;/^\./-c'
      6 	 cc $CFLAGS -w -c $i 2>&1
      7 	 printf ".\nw\n"
      8 	 echo w) |
      9 	ed -s $i
     10 done