about summary refs log tree commit diff stats
path: root/subx/build
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-10-11 01:38:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-10-11 01:38:29 -0700
commita7c35665a5b092eab1f4be159bd3f1e43f038283 (patch)
tree00c6d2eef3ea4f921dc3deb536b4d40057a9a9e6 /subx/build
parent46438423d2012029b3be54103c34191eb62a8f62 (diff)
downloadmu-a7c35665a5b092eab1f4be159bd3f1e43f038283.tar.gz
4013
Diffstat (limited to 'subx/build')
-rwxr-xr-xsubx/build6
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