0020-rflag.sh - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       0020-rflag.sh (215B)
       ---
            1 #!/bin/sh
            2 
            3 trap 'rm -f $tmp1 $tmp2 file.c file.o' EXIT QUIT INT TERM HUP
            4 
            5 tmp1=tmp1.$$
            6 tmp2=tmp2.$$
            7 
            8 cat > $tmp2 <<EOF
            9 -r
           10 EOF
           11 touch file.c
           12 
           13 scc make -rf test.mk file.o print-makeflags > $tmp1 2>&1
           14 
           15 diff $tmp1 $tmp2