ref: 80d0bda206028c1dea3f72d8b5bd53a2a362f7ea
parent: 97b8a3b4a29998e3d991d09eab8f838fa3795e92
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Feb 8 20:52:36 EST 2019
Fixed Japanese build
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
ifeq ($(RELEASE), 1)
CXXFLAGS := -O3 -s
-FILENAME ?= release
+FILENAME_DEF = release
else
CXXFLAGS := -O0 -g
-FILENAME ?= debug
+FILENAME_DEF = debug
endif
ifeq ($(JAPANESE), 1)
@@ -10,11 +10,13 @@
CXXFLAGS += -DJAPANESE
LIBS += -liconv
ifeq ($(RELEASE), 1)
- FILENAME ?= releasejp
+ FILENAME_DEF = releasejp
else
- FILENAME ?= debugjp
+ FILENAME_DEF = debugjp
endif
endif
+
+FILENAME ?= FILENAME_DEF
ifeq ($(FIX_BUGS), 1)
CXXFLAGS += -DFIX_BUGS