summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 9f901658e..bdcf5aa7e 100644
--- a/config.mk
+++ b/config.mk
@@ -4,6 +4,7 @@
GAME_VERSION ?= RUBY
GAME_REVISION ?= 0
GAME_LANGUAGE ?= ENGLISH
+DEBUG ?= 0
COMPARE ?= 1
# Version
@@ -42,3 +43,9 @@ else
$(error unknown language $(GAME_LANGUAGE))
endif
endif
+
+# Debug
+ifeq ($(DEBUG), 1)
+ BUILD_NAME := $(BUILD_NAME)_debug
+endif
+