mirror of
https://github.com/zeldaret/oot.git
synced 2025-10-19 13:09:58 +00:00
Add all N64 version defines (#2095)
* Add all N64 ROMs to versions.h * Remove OOT_ prefix from version defines * Make it pretty
This commit is contained in:
parent
c6d29691d0
commit
3795574878
11 changed files with 50 additions and 46 deletions
4
Makefile
4
Makefile
|
@ -134,8 +134,8 @@ VENV := .venv
|
|||
MAKE = make
|
||||
CPPFLAGS += -P -xc -fno-dollars-in-identifiers
|
||||
|
||||
# Converts e.g. ntsc-1.0 to OOT_NTSC_1_0
|
||||
VERSION_MACRO := OOT_$(shell echo $(VERSION) | tr a-z-. A-Z__)
|
||||
# Converts e.g. ntsc-1.0 to NTSC_1_0
|
||||
VERSION_MACRO := $(shell echo $(VERSION) | tr a-z-. A-Z__)
|
||||
CPP_DEFINES += -DOOT_VERSION=$(VERSION_MACRO)
|
||||
CPP_DEFINES += -DOOT_REGION=REGION_$(REGION)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue