shithub: pokered

Download patch

ref: 118c2cf268cce89536aa7cdb7e63a754c8a126e7
parent: 729608124fa5f479a82dcc3b13fdcedc473fdafa
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Mon Dec 31 12:39:49 EST 2018

'make tidy' preserved compressed graphics, like pokecrystal

--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
 .SECONDEXPANSION:
 .PRECIOUS:
 .SECONDARY:
-.PHONY: all clean red blue compare tools
+.PHONY: all clean red blue compare tools tidy
 
 roms := pokered.gbc pokeblue.gbc
 
@@ -22,6 +22,10 @@
 clean:
 	rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.sym)
 	find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
+	$(MAKE) clean -C tools/
+
+tidy:
+	rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.sym)
 	$(MAKE) clean -C tools/
 
 tools: