summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-09-05 16:03:17 -0400
committerGitHub <noreply@github.com>2019-09-05 16:03:17 -0400
commitc33effb95c398eaf52a928a9ded51cc5e7e8f1e1 (patch)
treec8d410703a5f3ea91136da9550755744b183d531 /Makefile
parent082093aa36ea82d7e7b8e6cf0c51aca17d73dd9b (diff)
Configure Travis to build nonmatching (#746)
* Configure Travis to build nonmatching
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0759b9db5..67616449d 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,10 @@ JSONPROC := tools/jsonproc/jsonproc$(EXE)
ASFLAGS := -mcpu=arm7tdmi -I include --defsym $(GAME_VERSION)=1 --defsym REVISION=$(GAME_REVISION) --defsym $(GAME_LANGUAGE)=1 --defsym DEBUG=$(DEBUG)
CC1FLAGS := -mthumb-interwork -Wimplicit -Wparentheses -Wunused -Werror -O2 -fhex-asm
CPPFLAGS := -I tools/agbcc/include -iquote include -nostdinc -undef -Werror -Wno-trigraphs -D $(GAME_VERSION) -D REVISION=$(GAME_REVISION) -D $(GAME_LANGUAGE) -D DEBUG=$(DEBUG)
-
+ifneq (,$(NONMATCHING))
+CPPFLAGS += -DNONMATCHING
+ASFLAGS += --defsym NONMATCHING=1
+endif
#### Files ####