Create Macros for PAL/NTSC
This commit is contained in:
@@ -7,6 +7,7 @@ PLATFORM ?= PSX
|
||||
#Build profile, possible values: release, debug, profile, coverage
|
||||
BUILD_DIR ?= bin
|
||||
BUILD_PROFILE ?= debug
|
||||
TV_FORMAT ?= PAL
|
||||
|
||||
CONFIG_NAME ?= $(PLATFORM)-$(BUILD_PROFILE)
|
||||
OUTPUT_DIR = $(BUILD_DIR)/$(CONFIG_NAME)
|
||||
@@ -56,6 +57,8 @@ CCFLAGS += $(ARCHFLAGS)
|
||||
|
||||
CCFLAGS += $(CCFLAGS_$(BUILD_PROFILE))
|
||||
|
||||
CCFLAGS += -DJABYENGINE_$(TV_FORMAT)
|
||||
|
||||
#Linker flags
|
||||
LDFLAGS_release += -Os
|
||||
|
||||
|
||||
Reference in New Issue
Block a user