From 80d0bda206028c1dea3f72d8b5bd53a2a362f7ea Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sat, 9 Feb 2019 01:52:36 +0000 Subject: [PATCH] Fixed Japanese build --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 87c4b2bc..d382e707 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,23 @@ ifeq ($(RELEASE), 1) CXXFLAGS := -O3 -s -FILENAME ?= release +FILENAME_DEF = release else CXXFLAGS := -O0 -g -FILENAME ?= debug +FILENAME_DEF = debug endif ifeq ($(JAPANESE), 1) 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 endif