summaryrefslogtreecommitdiff
path: root/config.mk
blob: 07859a9819ae88ee809dfaba28548c93fc6dd982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
### Build Configuration ###

# Default variables
GAME_VERSION ?= GOLD
DEBUG        ?= 0
COMPARE      ?= 0

# Version
ifeq ($(GAME_VERSION), GOLD)
	BUILD_NAME := gold
else
ifeq ($(GAME_VERSION), SILVER)
	BUILD_NAME := silver
else
	$(error unknown version $(GAME_VERSION))
endif
endif

# Debug
ifeq ($(DEBUG), 1)
	BUILD_NAME := $(BUILD_NAME)_debug
endif