diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -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 |