From de6c7876c3176ab6e10cb6e999e6153cac47ebac Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Thu, 13 Mar 2025 18:30:12 +0200 Subject: [PATCH] fix: makefile not using specified lua and cc executables --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1dc99a3..ae2777f 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,6 @@ $(dst_dir): mkdir -p $@ $(bytecode_target): $(lua_sources) $(dst_dir) - lua lib/build.lua src $@ $(lua_sources) + $(lua) lib/build.lua src $@ $(lua_sources) $(target): $(c_sources) $(bytecode_target) $(dst_dir) - gcc $(flags) $(libraries) -include $(bytecode_target) $(c_sources) -o $@ + $(cc) $(flags) $(libraries) -include $(bytecode_target) $(c_sources) -o $@