diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-22 17:36:28 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-22 17:36:28 -0700 |
commit | 4dc5dfa56f1ed1dbf31c1eaade739eda7ba6b046 (patch) | |
tree | 4da5c7033a605785fc2735e2abebe78c326225bb /subx | |
parent | d353ec60971d480aa74d92518fdd82c9b1bd4c39 (diff) | |
download | mu-4dc5dfa56f1ed1dbf31c1eaade739eda7ba6b046.tar.gz |
5449
Stop rebuilding example programs just because subx_bin got recreated.
Diffstat (limited to 'subx')
-rwxr-xr-x | subx/build | 5 |
1 files changed, 4 insertions, 1 deletions
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 |