MUSIC_DIR = music COURSE_NAMES := \ mario_raceway \ choco_mountain \ bowsers_castle \ banshee_boardwalk \ yoshi_valley \ frappe_snowland \ koopa_troopa_beach \ royal_raceway \ luigi_raceway \ moo_moo_farm \ toads_turnpike \ kalimari_desert \ sherbet_land \ rainbow_road \ wario_stadium \ block_fort \ skyscraper \ double_deck \ dks_jungle_parkway \ big_donut COURSE_DL_NAMES := $(addprefix course_,$(addsuffix _dl,$(COURSE_NAMES))) COURSE_DL_MIO0_FILES := $(addprefix $(BUILD_DIR)/bin/,$(addsuffix .mio0,$(COURSE_DL_NAMES))) COURSE_DL_MIO0_OBJ_FILES := $(COURSE_DL_MIO0_FILES:.mio0=.mio0.o) # COURSE_VERTEX_NAMES := $(addprefix course_,$(addsuffix _vertex,$(COURSE_NAMES))) # COURSE_VERTEX_MIO0_FILES := $(addprefix $(BUILD_DIR)/bin/,$(addsuffix .mio0,$(COURSE_VERTEX_NAMES))) COURSE_MIO0_OBJ_FILES := $(COURSE_DL_MIO0_OBJ_FILES) OTHER_DATA_MIO0_NAMES := \ data_821D10 \ data_825800 OTHER_DATA_MIO0_FILES := $(addprefix $(BUILD_DIR)/bin/,$(addsuffix .mio0,$(OTHER_DATA_MIO0_NAMES))) TEXTURE_DATA_MIO0_NAMES := \ texture_68EB50 \ texture_68EDA0 \ texture_68EFF0 \ texture_68F248 \ texture_68F4A8 \ texture_68F700 \ texture_68F96C \ texture_68FBCC \ texture_68FE20 \ texture_69004C \ texture_690284 \ texture_6904C4 \ texture_690708 \ texture_690960 \ texture_690BBC \ texture_690DF8 \ texture_6913CC \ texture_691714 \ texture_691AAC \ texture_691D98 \ texture_692088 \ texture_6923D8 \ texture_6925E8 \ texture_692888 \ texture_692CC0 \ texture_69333C \ texture_693790 TEXTURE_DATA_MIO0_FILES := $(addprefix $(BUILD_DIR)/bin/,$(addsuffix .mio0,$(TEXTURE_DATA_MIO0_NAMES))) STANDALONE_TEXTURE_MIO0_FILES := $(addprefix $(BUILD_DIR)/,$(patsubst %.png,%.mio0,$(wildcard $(TEXTURES_DIR)/standalone/*.png))) RAW_TEXTURE_FILES := $(addprefix $(BUILD_DIR)/,$(patsubst %.png,%,$(wildcard $(TEXTURES_DIR)/raw/*.png))) KARTS_DIR := bin/karts ALL_KARTS_DIRS := $(wildcard $(KARTS_DIR)/*) KART_TEXTURE_MIO0_FILES := $(addprefix $(BUILD_DIR)/,$(patsubst %.bin,%.mio0,$(wildcard $(KARTS_DIR)/*/*.bin))) MIO0_FILES := $(OTHER_DATA_MIO0_FILES) $(TEXTURE_DATA_MIO0_FILES) $(STANDALONE_TEXTURE_MIO0_FILES) $(KART_TEXTURE_MIO0_FILES) MUSIC_FILES = \ $(MUSIC_DIR)/seq_00.m64 \ $(MUSIC_DIR)/seq_01.m64 \ $(MUSIC_DIR)/seq_02.m64 \ $(MUSIC_DIR)/seq_03.m64 \ $(MUSIC_DIR)/seq_04.m64 \ $(MUSIC_DIR)/seq_05.m64 \ $(MUSIC_DIR)/seq_06.m64 \ $(MUSIC_DIR)/seq_07.m64 \ $(MUSIC_DIR)/seq_08.m64 \ $(MUSIC_DIR)/seq_09.m64 \ $(MUSIC_DIR)/seq_0A.m64 \ $(MUSIC_DIR)/seq_0B.m64 \ $(MUSIC_DIR)/seq_0C.m64 \ $(MUSIC_DIR)/seq_0D.m64 \ $(MUSIC_DIR)/seq_0E.m64 \ $(MUSIC_DIR)/seq_0F.m64 \ $(MUSIC_DIR)/seq_10.m64 \ $(MUSIC_DIR)/seq_11.m64 \ $(MUSIC_DIR)/seq_12.m64 \ $(MUSIC_DIR)/seq_13.m64 \ $(MUSIC_DIR)/seq_14.m64 \ $(MUSIC_DIR)/seq_15.m64 \ $(MUSIC_DIR)/seq_16.m64 \ $(MUSIC_DIR)/seq_17.m64 \ $(MUSIC_DIR)/seq_18.m64 \ $(MUSIC_DIR)/seq_19.m64 \ $(MUSIC_DIR)/seq_1A.m64 \ $(MUSIC_DIR)/seq_1B.m64 \ $(MUSIC_DIR)/seq_1C.m64 \ $(MUSIC_DIR)/seq_1D.m64 \ $(MUSIC_DIR)/seq_1E.m64 \ $(MUSIC_DIR)/seq_1F.m64 \ $(MUSIC_DIR)/seq_20.m64 \ $(MUSIC_DIR)/seq_21.m64 # SEGMENTED ADDRESSES $(BUILD_DIR)/src/startup_logo.inc.elf: SEGMENT_ADDRESS := 0x06000000 $(BUILD_DIR)/src/trophy_model.inc.elf: SEGMENT_ADDRESS := 0x0B000000 # COURSES $(BUILD_DIR)/courses/star_cup/sherbet_land/gfx.inc.elf: SEGMENT_ADDRESS := 0x06000000 $(BUILD_DIR)/courses/star_cup/wario_stadium/gfx.inc.elf: SEGMENT_ADDRESS := 0x06000000 $(BUILD_DIR)/courses/mushroom_cup/luigi_raceway/gfx.inc.elf: SEGMENT_ADDRESS := 0x06000000