From 81887c0e58a48362995dc59d660a4ac208c6498a Mon Sep 17 00:00:00 2001 From: Amber Brault Date: Fri, 22 Apr 2022 20:05:45 -0400 Subject: [PATCH] Update Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index e9c4efe8..3f10f7c9 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ ifneq ($(findstring MSYS,$(shell uname)),) WINDOWS := 1 endif +NON_MATCHING ?= 0 + # If 0, tells the console to chill out. (Quiets the make process.) VERBOSE ?= 0 @@ -97,6 +99,9 @@ ifeq ($(VERBOSE),0) LDFLAGS := $(MAPGEN) -fp hard -nodefaults -w off endif CFLAGS = -Cpp_exceptions off -enum int -inline on -proc gekko -RTTI off -fp hard -rostr -O4,p -nodefaults $(INCLUDES) +ifeq ($(NON_MATCHING),1) +CFLAGS += -DNON_MATCHING +endif ifeq ($(VERBOSE),0) # this set of ASFLAGS generates no warnings.