diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-04-19 17:13:26 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-04-19 17:13:26 -0400 |
commit | b79c4e942dba34ee1b2e5ce907629c7f77f88f07 (patch) | |
tree | b89f880afde67f1dd6256a1df4bd772f67c1513a /run | |
parent | 30caeaab671f7fe7d7582ce7e645302a139c15a0 (diff) |
annotating index type for loops
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 |