diff options
Diffstat (limited to 'subx/build')
-rwxr-xr-x | subx/build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/build b/subx/build index f5ea62c3..7d01f975 100755 --- a/subx/build +++ b/subx/build @@ -3,7 +3,7 @@ # non-zero exit status only on error during building set -e # stop immediately on error -# [0-9]*.cc -> subx.cc -> subx +# [0-9]*.cc -> subx.cc -> subx_bin # (layers) | | # tangle $CXX @@ -99,8 +99,8 @@ older_than subx.cc $LAYERS ../enumerate/enumerate ../tangle/tangle && { grep -h "^[^[:space:]#].*) {$" subx.cc |grep -v ":.*(" |sed 's/ {.*/;/' |update function_list grep -h "^\s*void test_" subx.cc |sed 's/^\s*void \(.*\)() {.*/\1,/' |update test_list -older_than subx subx.cc *_list && { - $CXX $CFLAGS subx.cc -o subx +older_than subx_bin subx.cc *_list && { + $CXX $CFLAGS subx.cc -o subx_bin } exit 0 |