commit 004a8e3d304725e3e042f6df78802cda96c3136c parent cd2d7b6a135ccc7c41f61939419de2c5d8247579 Author: Brian Swetland <swetland@frotz.net> Date: Sat, 14 Oct 2023 14:57:43 -0700 build: fix compile1 build and script Diffstat:
M | Makefile | | | 4 | ++-- |
M | build/compile1 | | | 4 | ++-- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile @@ -10,8 +10,8 @@ out/compiler0: bootstrap/compiler0.c @mkdir -p out gcc -Wall -O0 -g -o out/compiler0 bootstrap/compiler0.c -out/compiler.bin: compiler.spl out/compiler0 - ./build/compile0 compiler.spl +out/compiler/compiler.bin: compiler/compiler.spl out/compiler0 + ./build/compile0 compiler/compiler.spl clean:: rm -rf bin out diff --git a/build/compile1 b/build/compile1 @@ -6,6 +6,6 @@ out="out/${base}" if [ ! -e "${src}" ] ; then echo error: cannot find "${src}" ; exit 1 ; fi -make out/compiler.bin +make out/compiler/compiler.bin -out/compiler.bin < ${src} +out/compiler/compiler.bin < ${src}