From 4dc5dfa56f1ed1dbf31c1eaade739eda7ba6b046 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 22 Jul 2019 17:36:28 -0700 Subject: 5449 Stop rebuilding example programs just because subx_bin got recreated. --- subx/build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'subx') diff --git a/subx/build b/subx/build index 75838c64..8939c8b3 100755 --- a/subx/build +++ b/subx/build @@ -109,10 +109,13 @@ older_than subx_bin subx.cc *_list && { if [ $# -eq 0 ] then + # Assumption: SubX programs don't need to be retranslated every time we + # rebuild the C++ bootstrap. + # simple example programs for n in `seq 1 12` do - older_than examples/ex$n examples/ex$n.subx subx_bin && { + older_than examples/ex$n examples/ex$n.subx && { ./subx_bin translate examples/ex$n.subx -o examples/ex$n } done -- cgit 1.4.1-2-gfad0