Improve naming of PSX related ENV variables

This commit is contained in:
Jaby
2024-03-21 17:41:41 -05:00
parent 618c671844
commit 3fec1d286a
12 changed files with 50 additions and 49 deletions

View File

@@ -8,9 +8,9 @@ desubstitute = $(subst !JABYENGINEMODULES,$(JABY_ENGINE_DIR)/include/modules,$(s
PLATFORM ?= PSX
#Build profile, possible values: release, debug, profile, coverage
BUILD_DIR ?= bin/$(TV_FORMAT)
BUILD_DIR ?= bin/$(PSX_TV_FORMAT)
BUILD_PROFILE ?= debug
TV_FORMAT ?= PAL
PSX_TV_FORMAT ?= PAL
CONFIG_NAME ?= $(PLATFORM)-$(BUILD_PROFILE)
OUTPUT_DIR = $(BUILD_DIR)/$(CONFIG_NAME)
@@ -55,7 +55,7 @@ CCFLAGS += -std=c++20 -fmodules-ts
CCFLAGS += $(CCFLAGS_$(BUILD_PROFILE))
CCFLAGS += $(ARCHFLAGS)
CCFLAGS += $(INCLUDES)
CCFLAGS += -DJABYENGINE_$(TV_FORMAT)
CCFLAGS += -DJABYENGINE_$(PSX_TV_FORMAT)
#Linker flags
LDFLAGS_release += -Os