mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-15 06:06:04 +00:00
Fix Makefile performance regression with OOT_VERSION define (#2006)
This commit is contained in:
parent
ec5068c58d
commit
0db9e7275f
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -87,7 +87,8 @@ MAKE = make
|
||||||
CPPFLAGS += -P -xc -fno-dollars-in-identifiers
|
CPPFLAGS += -P -xc -fno-dollars-in-identifiers
|
||||||
|
|
||||||
# Converts e.g. ntsc-1.0 to OOT_NTSC_1_0
|
# Converts e.g. ntsc-1.0 to OOT_NTSC_1_0
|
||||||
CPP_DEFINES += -DOOT_VERSION=OOT_$(shell echo $(VERSION) | tr a-z-. A-Z__)
|
VERSION_MACRO := OOT_$(shell echo $(VERSION) | tr a-z-. A-Z__)
|
||||||
|
CPP_DEFINES += -DOOT_VERSION=$(VERSION_MACRO)
|
||||||
CPP_DEFINES += -DOOT_REGION=REGION_$(REGION)
|
CPP_DEFINES += -DOOT_REGION=REGION_$(REGION)
|
||||||
|
|
||||||
ifeq ($(PAL),0)
|
ifeq ($(PAL),0)
|
||||||
|
|
Loading…
Reference in a new issue