From 491d3521f7507eb9c1d958df409e856a6e411f5b Mon Sep 17 00:00:00 2001 From: fgsfds Date: Mon, 4 Sep 2023 21:06:49 +0200 Subject: [PATCH] port: different names for pal and jpn EXEs --- Makefile.port | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.port b/Makefile.port index 34f2cb983..2b123e83b 100644 --- a/Makefile.port +++ b/Makefile.port @@ -100,12 +100,15 @@ TARGET_BIG_ENDIAN = 0 # TODO # The VERSION constant is used in the source to handle version-specific code. ifeq ($(ROMID),ntsc-final) + BIN_NAME = pd.exe VERSION = 2 IS_PAL = 0 else ifeq ($(ROMID),pal-final) + BIN_NAME = pd.pal.exe VERSION = 4 IS_PAL = 1 else ifeq ($(ROMID),jpn-final) + BIN_NAME = pd.jpn.exe VERSION = 5 IS_PAL = 0 else @@ -257,7 +260,7 @@ LDFLAGS := $(TARGET_LDFLAGS) # (We use this a lot) export ROMID -BIN := $(B_DIR)/pd.exe +BIN := $(B_DIR)/$(BIN_NAME) default: $(JSON_HEADERS) $(BIN)