Use ifdefs in linker file

This commit is contained in:
octorock
2021-06-22 00:39:03 +02:00
parent 6f54607fbf
commit cc4c42c54e
15 changed files with 23 additions and 1852 deletions
-3
View File
@@ -12,8 +12,6 @@ GAME_LANGUAGE := ENGLISH
TITLE := GBAZELDA MC
MAKER_CODE := 01
LINKER_FILE = linker.ld
ifeq ($(GAME_VERSION), USA)
GAME_CODE := BZME
BUILD_NAME := tmc
@@ -30,7 +28,6 @@ else
ifeq ($(GAME_VERSION), EU)
GAME_CODE := BZMP
BUILD_NAME := tmc_eu
LINKER_FILE := linker_EU.ld
else
$(error unknown version $(GAME_VERSION))
endif