From af74369e0b59bc93941231d00c6475cf7e817af0 Mon Sep 17 00:00:00 2001 From: dzaima Date: Fri, 18 Nov 2022 17:02:01 +0200 Subject: [PATCH] move precompiled bytecode message to only load.c recompilation --- makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 0a853a9f..cfe75915 100644 --- a/makefile +++ b/makefile @@ -206,7 +206,6 @@ ifeq ($(REPLXX_DIR),build/replxxSubmodule) @git submodule update --init build/replxxSubmodule endif ifeq ($(BYTECODE_DIR),bytecodeSubmodule) - @echo "Using precompiled bytecode; see readme for how to build your own" @git submodule update --init build/bytecodeSubmodule endif @export bd=$$(${MAKE} builddir); \ @@ -253,8 +252,13 @@ ${bd}/%.o: src/builtins/%.c @echo $< | cut -c 5- @$(CC_INC) $@.d -o $@ -c $< -.INTERMEDIATE: core base utils jit builtins +.INTERMEDIATE: core base utils jit builtins bytecodeMessage +$(bd)/load.o: bytecodeMessage +bytecodeMessage: +ifeq ($(BYTECODE_DIR),bytecodeSubmodule) + @echo "Using precompiled bytecode; see readme for how to build your own" +endif # singeli