From fdef9d6246f7c48cb3aece7ce8c31073bed6bb88 Mon Sep 17 00:00:00 2001 From: Alejandro Javier Asenjo Nitti Date: Tue, 14 May 2024 22:29:21 -0300 Subject: [PATCH] version check for EU --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2e783a95..d2163b20 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,6 @@ $(error Unsupported compiler. Please use either ido or gcc as the COMPILER varia endif endif -# ditch g3, we aren't using that in GCC ifeq ($(COMPILER),gcc) OPTFLAGS := -Os else @@ -120,12 +119,17 @@ endif BUILD_DEFINES ?= +# Version check +ifeq ($(VERSION),jp) + BUILD_DEFINES += -DVERSION_JP=1 +endif + ifeq ($(VERSION),us) BUILD_DEFINES += -DVERSION_US=1 endif -ifeq ($(VERSION),jp) - BUILD_DEFINES += -DVERSION_JP=1 +ifeq ($(VERSION),eu) + BUILD_DEFINES += -DVERSION_EU=1 endif ifeq ($(NON_MATCHING),1)