about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rwxr-xr-xsubx/build8
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/build b/subx/build
index 79f7707b..75838c64 100755
--- a/subx/build
+++ b/subx/build
@@ -102,13 +102,13 @@ grep -h "^[^[:space:]#].*) {$" subx.cc  |grep -v ":.*("  |sed 's/ {.*/;/'  |upda
 grep -h "^\s*void test_" subx.cc  |sed 's/^\s*void \(.*\)() {.*/\1,/'  |update test_list
 grep -h "^\s*void test_" subx.cc  |sed 's/^\s*void \(.*\)() {.*/"\1",/'  |update test_name_list
 
+older_than subx_bin subx.cc *_list && {
+  $CXX $CFLAGS subx.cc -o subx_bin
+}
+
 if [ $# -eq 0 ]
 then
 
-  older_than subx_bin subx.cc *_list && {
-    $CXX $CFLAGS subx.cc -o subx_bin
-  }
-
   # simple example programs
   for n in `seq 1 12`
   do