diff --git a/obj/subMakefile b/obj/subMakefile index 9d171bed..adad5e5c 100644 --- a/obj/subMakefile +++ b/obj/subMakefile @@ -1,3 +1,4 @@ +SHELL=/usr/bin/env bash CC=clang CCFLAGS=-Wno-microsoft-anon-tag # CC=gcc @@ -30,6 +31,12 @@ core: i32arr.o c32arr.o f64arr.o harr.o fillarr.o stuff.o derv.o mm.o heap.o @echo $< | cut -c 11- @$(CMD) $@.d -c $< +../../src/gen/src: + @echo "no precompiled bytecode found; copying from the bytecode branch" + git checkout bytecode ../../src/gen/{compiler,formatter,runtime0,runtime1,src} + git reset ../../src/gen/{compiler,formatter,runtime0,runtime1,src} +load.o: ../../src/gen/src + base: load.o main.o rtwrap.o vm.o ns.o nfns.o %.o: ../../src/%.c @echo $< | cut -c 11-