Enable PAL and NTSC build

This commit is contained in:
2024-02-04 20:35:15 -05:00
parent 4f4ce13613
commit 1dc04bd0bd
13 changed files with 62 additions and 32 deletions

View File

@@ -1,13 +1,18 @@
CD_OUTPUT ?= $(ARTIFACT).bin
ifndef TV_FORMAT
$(error TV_FORMAT is not set!)
endif
CD_OUTPUT ?= $(TV_FORMAT)/$(ARTIFACT).bin
$(CD_OUTPUT): always
psxcdgen_ex --list $(ARTIFACT).lba -o $(ARTIFACT) psx bin-cue Config.xml
@mkdir -p $(TV_FORMAT)
psxcdgen_ex --list $(TV_FORMAT)/$(ARTIFACT).lba -o $(TV_FORMAT)/$(ARTIFACT) psx bin-cue Config.xml
all: $(CD_OUTPUT)
clean:
rm -fr *.bin
rm -fr *.cue
rm -fr *.lba
rm -fr $(TV_FORMAT)/*.bin
rm -fr $(TV_FORMAT)/*.cue
rm -fr $(TV_FORMAT)/*.lba
always: ;

View File

@@ -8,7 +8,7 @@ desubstitute = $(subst !JABYENGINEMODULES,$(JABY_ENGINE_DIR)/include/modules,$(s
PLATFORM ?= PSX
#Build profile, possible values: release, debug, profile, coverage
BUILD_DIR ?= bin
BUILD_DIR ?= bin/$(TV_FORMAT)
BUILD_PROFILE ?= debug
TV_FORMAT ?= PAL