scc

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

mklst (157B)


      1 #!/bin/sh
      2 
      3 set -e
      4 
      5 rm -f $1
      6 trap 'r=$?;rm -f $$.tmp;exit $r' HUP EXIT QUIT TERM
      7 
      8 (echo OBJS=\\
      9  find . -name '*.o' | sed 's/$/\\/') > $$.tmp && mv $$.tmp $1