scc

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

0006-append.sh (234B)


      1 #!/bin/sh
      2 
      3 set -e
      4 
      5 tmp1=`mktemp`
      6 tmp2=`mktemp`
      7 
      8 trap "rm -f file.a f1 f2 f3 $tmp1 $tmp2; exit" 0 2 3
      9 
     10 ###########################################################################
     11 #empty file list
     12 
     13 rm -f file.a
     14 scc-ar -qv file.a file.a