From d56bcc28f37c7e4d9abbb6c811c980ce9816bcbb Mon Sep 17 00:00:00 2001 From: Tal Hayon Date: Fri, 13 May 2022 23:51:48 +0300 Subject: [PATCH] Fix enum script GAME_VERSION define --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4971df80..c6d3fe7b 100644 --- a/Makefile +++ b/Makefile @@ -263,7 +263,7 @@ $(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s $$(asm_dep) $(PREPROC) $(BUILD_NAME) $< -- $(PREPROC_INC_PATHS) | $(AS) $(ASFLAGS) -o $@ $(ASM_ENUM_INCLUDE_DIR)/%.inc: include/%.h - $(ENUM_PROCESSOR) $< $(CC) "-D__attribute__(x)=" "-E" "-nostdinc" "-Itools/agbcc" "-Itools/agbcc/include" "-iquote include" > $@ + $(ENUM_PROCESSOR) $< $(CC) "-D__attribute__(x)=" "-D$(GAME_VERSION)" "-E" "-nostdinc" "-Itools/agbcc" "-Itools/agbcc/include" "-iquote include" > $@ ifeq ($(NODEP),1) $(DATA_ASM_BUILDDIR)/%.o: data_dep :=