From ad3fca33d3532f5dcffd22e5b88d3169675f43d0 Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Sat, 1 Aug 2015 12:30:16 -0400 Subject: Attempt to make yellow buildable. Building Errors: Segmentation Error. --- Makefile | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5cc485c1..ecbeb32a 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,18 @@ -# Build Red/Blue. Yellow is WIP. -roms := pokered.gbc pokeblue.gbc +# Build Yellow. +roms := pokeyellow.gbc -.PHONY: all clean red blue yellow compare +.PHONY: all clean yellow compare all: $(roms) -red: pokered.gbc -blue: pokeblue.gbc yellow: pokeyellow.gbc -versions := red blue yellow +versions := yellow # Header options for rgbfix. -dmg_opt = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 cgb_opt = -cjsv -k 01 -l 0x33 -m 0x1b -p 0 -r 03 -red_opt = $(dmg_opt) -t "POKEMON RED" -blue_opt = $(dmg_opt) -t "POKEMON BLUE" yellow_opt = $(cgb_opt) -t "POKEMON YELLOW" @@ -32,7 +27,7 @@ MD5 := md5sum -c --quiet # The compare target is a shortcut to check that the build matches the original roms exactly. # This is for contributors to make sure a change didn't affect the contents of the rom. # More thorough comparison can be made by diffing the output of hexdump -C against both roms. -compare: red blue +compare: yellow @$(MD5) roms.md5 @@ -54,7 +49,7 @@ includes := $(PYTHON) $(poketools)/scan_includes.py -# Collect file dependencies for objects in red/, blue/ and yellow/. +# Collect file dependencies for objects in yellow/. # These aren't provided by rgbds by default, so we have to look for file includes ourselves. $(foreach ver, $(versions), \ $(eval $(ver)_asm := $(shell find $(ver) -iname '*.asm')) \ @@ -94,4 +89,4 @@ poke%.gbc: $$(%_obj) clean: rm -f $(roms) $(all_obj) poke*.sym - find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} + + find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} + \ No newline at end of file -- cgit v1.3.1-sl0p