diff options
Diffstat (limited to 'run')
-rwxr-xr-x[-rw-r--r--] | run | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ #!/bin/sh +if [ "$CC" = "" ]; then + CC=tcc +fi if [ "$2" = "" ]; then tocf=test.toc else @@ -12,7 +15,7 @@ fi ./toc $tocf || exit 1 if [ "$1" = "c" ]; then - gcc out.c -g -Wno-builtin-declaration-mismatch && ./a.out + $CC out.c -g -Wno-builtin-declaration-mismatch && ./a.out elif [ "$1" = "pc" ]; then cat out.c fi |