fix build script

This commit is contained in:
2025-11-27 14:47:17 +02:00
parent 2d97f02929
commit fc2019680a
3 changed files with 13 additions and 14 deletions

View File

@@ -42,15 +42,15 @@ compile_flags.txt:
printf -- '$(foreach v,$(CCARGS) $(LDARGS),\n$v)' > compile_flags.txt
$(OUTPUT): $(LIBS) $(MKLUA_OUT) $(SOURCES) | $(dir $(OUTPUT))
$(CC) $(CCARGS) $(LDARGS) $^ -o $@
$(CC) $(CCARGS) $^ $(LDARGS) -o $@
$(MKLUA_OUT): $(DEPS) | $(dir $(MKLUA_OUT)) $(MKLUA)
$(MKLUA) $(MKLUA_FLAGS) $(MKLUA_ENTRY) -o $@
deps/mklua/mklua:
$(MKLUA):
deps/mklua/Makefile:
git submodule update --init deps/mklua
$(MKLUA): deps/mklua/Makefile
make -C deps/mklua
%/:
mkdir -p $@