From 47390958cea28526ed3ff9bca4babe4e8399f211 Mon Sep 17 00:00:00 2001 From: dzaima Date: Fri, 11 Jun 2021 04:33:13 +0300 Subject: [PATCH] bytecode loading from bytecode branch --- obj/subMakefile | 7 +++++++ 1 file changed, 7 insertions(+) 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-