Create Macros for PAL/NTSC

This commit is contained in:
2022-10-02 17:47:24 +02:00
parent 733921f4ce
commit 04af1daf6c
3 changed files with 12 additions and 1 deletions

View File

@@ -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