From 54423826c740f14aee37c37002b57a1c276867e1 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 3 Feb 2022 10:31:44 -0800 Subject: update stale stuff in an old prototype --- archive/1.vm/build3 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'archive/1.vm/build3') diff --git a/archive/1.vm/build3 b/archive/1.vm/build3 index 11f8afc8..87dc4a21 100755 --- a/archive/1.vm/build3 +++ b/archive/1.vm/build3 @@ -106,12 +106,12 @@ noisy_cd() { echo "-- `pwd`" >&2 } -older_than ../../tools/enumerate ../../tools/enumerate.cc && { - $CXX $CXXFLAGS ../../tools/enumerate.cc -o ../../tools/enumerate +older_than ../../linux/bootstrap/tools/enumerate ../../linux/bootstrap/tools/enumerate.cc && { + $CXX $CXXFLAGS ../../linux/bootstrap/tools/enumerate.cc -o ../../linux/bootstrap/tools/enumerate } -older_than ../../tools/tangle ../../tools/tangle.cc && { - noisy_cd ../../tools +older_than ../../linux/bootstrap/tools/tangle ../../linux/bootstrap/tools/tangle.cc && { + noisy_cd ../../linux/bootstrap/tools # auto-generate various lists (ending in '_list' by convention) { # list of function declarations, so I can define them in any order grep -h "^[^ #].*) {" tangle.cc |sed 's/ {.*/;/' |update tangle.function_list @@ -121,13 +121,13 @@ older_than ../../tools/tangle ../../tools/tangle.cc && { # } $CXX $CFLAGS tangle.cc -o tangle ./tangle test - noisy_cd ../archive/1.vm # no effect; just to show us returning to the parent directory + noisy_cd ../../../archive/1.vm # no effect; just to show us returning to the parent directory } -LAYERS=$(../../tools/enumerate --until $UNTIL_LAYER |grep '\.cc$') -older_than mu.cc $LAYERS ../../tools/enumerate ../../tools/tangle && { +LAYERS=$(../../linux/bootstrap/tools/enumerate --until $UNTIL_LAYER |grep '\.cc$') +older_than mu.cc $LAYERS ../../linux/bootstrap/tools/enumerate ../../linux/bootstrap/tools/tangle && { # no update here; rely on 'update' calls downstream - ../../tools/tangle $LAYERS > mu.cc + ../../linux/bootstrap/tools/tangle $LAYERS > mu.cc } older_than cleave/cleave cleave/cleave.cc && { @@ -175,7 +175,7 @@ older_than mu_bin mu.cc *_list cleave/cleave termbox/* && { ## [0-9]*.mu -> core.mu -MU_LAYERS=$(../../tools/enumerate --until $UNTIL_LAYER |grep '\.mu$') || exit 0 # ok if no .mu files +MU_LAYERS=$(../../linux/bootstrap/tools/enumerate --until $UNTIL_LAYER |grep '\.mu$') || exit 0 # ok if no .mu files cat $MU_LAYERS |update core.mu exit 0 -- cgit 1.4.1-2-gfad0