diff options
-rwxr-xr-x | archive/2.vm/build2 | 8 | ||||
-rwxr-xr-x | archive/2.vm/build3 | 8 | ||||
-rwxr-xr-x | archive/2.vm/build4 | 18 | ||||
-rwxr-xr-x | archive/2.vm/clean | 2 | ||||
-rw-r--r-- | archive/2.vm/cleave/Readme (renamed from cleave/Readme) | 0 | ||||
-rw-r--r-- | archive/2.vm/cleave/cleave.cc (renamed from cleave/cleave.cc) | 0 |
6 files changed, 18 insertions, 18 deletions
diff --git a/archive/2.vm/build2 b/archive/2.vm/build2 index b07e8a63..c6d5ef76 100755 --- a/archive/2.vm/build2 +++ b/archive/2.vm/build2 @@ -115,8 +115,8 @@ older_than mu.cc $LAYERS ../../enumerate/enumerate ../../tangle/tangle && { ../../tangle/tangle $LAYERS > mu.cc } -older_than ../../cleave/cleave ../../cleave/cleave.cc && { - $CXX $CXXFLAGS ../../cleave/cleave.cc -o ../../cleave/cleave +older_than cleave/cleave cleave/cleave.cc && { + $CXX $CXXFLAGS cleave/cleave.cc -o cleave/cleave rm -rf .build } @@ -132,8 +132,8 @@ grep -h "^\s*void test_" mu.cc |sed 's/^\s*void \(.*\)() {.*/"\1",/' |update . mkdir -p .build/termbox update_cp termbox/termbox.h .build/termbox -older_than mu_bin mu.cc *_list ../../cleave/cleave termbox/* && { - ../../cleave/cleave mu.cc .build +older_than mu_bin mu.cc *_list cleave/cleave termbox/* && { + cleave/cleave mu.cc .build noisy_cd .build # create the list of global variable declarations from the corresponding definitions grep ';' global_definitions_list |sed 's/[=(].*/;/' |sed 's/^[^\/# ]/extern &/' |sed 's/^extern extern /extern /' |update global_declarations_list diff --git a/archive/2.vm/build3 b/archive/2.vm/build3 index 42e8ffd9..7bacfb62 100755 --- a/archive/2.vm/build3 +++ b/archive/2.vm/build3 @@ -140,8 +140,8 @@ older_than mu.cc $LAYERS ../../enumerate/enumerate ../../tangle/tangle && { ../../tangle/tangle $LAYERS > mu.cc } -older_than ../../cleave/cleave ../../cleave/cleave.cc && { - $CXX $CXXFLAGS ../../cleave/cleave.cc -o ../../cleave/cleave +older_than cleave/cleave cleave/cleave.cc && { + $CXX $CXXFLAGS cleave/cleave.cc -o cleave/cleave rm -rf .build } @@ -157,8 +157,8 @@ grep -h "^\s*void test_" mu.cc |sed 's/^\s*void \(.*\)() {.*/"\1",/' |update . mkdir -p .build/termbox update_cp termbox/termbox.h .build/termbox -older_than mu_bin mu.cc *_list ../../cleave/cleave termbox/* && { - ../../cleave/cleave mu.cc .build +older_than mu_bin mu.cc *_list cleave/cleave termbox/* && { + cleave/cleave mu.cc .build noisy_cd .build # create the list of global variable declarations from the corresponding definitions grep ';' global_definitions_list |sed 's/[=(].*/;/' |sed 's/^[^\/# ]/extern &/' |sed 's/^extern extern /extern /' |update global_declarations_list diff --git a/archive/2.vm/build4 b/archive/2.vm/build4 index a1483089..08752831 100755 --- a/archive/2.vm/build4 +++ b/archive/2.vm/build4 @@ -187,19 +187,19 @@ mv_if_exists mu.cc $TMP ) & TMP=`mktemp` -mv_if_exists ../../cleave/cleave $TMP +mv_if_exists cleave/cleave $TMP ( - wait_for_all ../../cleave/cleave.cc - older_than $TMP ../../cleave/cleave.cc && { + wait_for_all cleave/cleave.cc + older_than $TMP cleave/cleave.cc && { echo "building cleave" - $CXX $CXXFLAGS ../../cleave/cleave.cc -o $TMP || quit + $CXX $CXXFLAGS cleave/cleave.cc -o $TMP || quit rm -rf .build echo "done building cleave" } - mv $TMP ../../cleave/cleave + mv $TMP cleave/cleave ) & -wait_for_all mu.cc ../../cleave/cleave # cleave/cleave just for the .build cleanup +wait_for_all mu.cc cleave/cleave # cleave/cleave just for the .build cleanup mkdir -p .build # auto-generate function declarations, so I can define them in any order # functions start out unindented, have all args on the same line, and end in ') {' @@ -215,10 +215,10 @@ update_cp termbox/termbox.h .build/termbox TMP=`mktemp` mv_if_exists mu_bin $TMP ( - wait_for_all mu.cc ../../cleave/cleave termbox/*.c termbox/*.h termbox/*.inl - older_than $TMP mu.cc *_list ../../cleave/cleave termbox/* && { + wait_for_all mu.cc cleave/cleave termbox/*.c termbox/*.h termbox/*.inl + older_than $TMP mu.cc *_list cleave/cleave termbox/* && { echo "building mu_bin" - ../../cleave/cleave mu.cc .build || quit + cleave/cleave mu.cc .build || quit cd .build # create the list of global variable declarations from the corresponding definitions grep ';' global_definitions_list |sed 's/[=(].*/;/' |sed 's/^[^\/# ]/extern &/' |sed 's/^extern extern /extern /' |update global_declarations_list diff --git a/archive/2.vm/clean b/archive/2.vm/clean index 24a0300f..e3678430 100755 --- a/archive/2.vm/clean +++ b/archive/2.vm/clean @@ -6,4 +6,4 @@ rm -rf mu.cc core.mu mu_bin* *_list .build rm -rf termbox/*.o termbox/libtermbox.a rm -rf .until .quit test $# -gt 0 && exit 0 # convenience: 'clean top-level' to leave subsidiary tools alone -rm -rf ../../enumerate/enumerate ../../tangle/tangle ../../tangle/*_list ../../cleave/cleave ../../*/*.dSYM +rm -rf ../../enumerate/enumerate ../../tangle/tangle ../../tangle/*_list cleave/cleave cleave/cleave.dSYM ../../*/*.dSYM diff --git a/cleave/Readme b/archive/2.vm/cleave/Readme index 038b6c98..038b6c98 100644 --- a/cleave/Readme +++ b/archive/2.vm/cleave/Readme diff --git a/cleave/cleave.cc b/archive/2.vm/cleave/cleave.cc index a3637e81..a3637e81 100644 --- a/cleave/cleave.cc +++ b/archive/2.vm/cleave/cleave.cc |