summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 976c02053..46748a068 100644
--- a/config.mk
+++ b/config.mk
@@ -5,6 +5,7 @@ GAME_VERSION ?= RUBY
GAME_REVISION ?= 0
GAME_LANGUAGE ?= ENGLISH
DEBUG ?= 0
+MODERN ?= 0
COMPARE ?= 1
# For gbafix
@@ -58,3 +59,10 @@ ifeq ($(DEBUG), 1)
BUILD_NAME := $(BUILD_NAME)_debug
endif
+# Modern GCC
+ifeq ($(MODERN), 0)
+ BUILD_NAME := $(BUILD_NAME)
+else
+ BUILD_NAME := $(BUILD_NAME)_modern
+endif
+