shithub: pokecrystal

Download patch

ref: 370ffcfd8d911dd4c2e8e08fa361cc1d68d6446a
parent: 35644c330effcfb083591d20b3b5f780019ae24f
author: U-Daniel-PC\Daniel <corrnondacqb@yahoo.com>
date: Sat Feb 14 05:14:58 EST 2015

Fix make clean
no more .tx files
remove rgbds generated files, .map and .sym

--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 PYTHON := python
 
 .SUFFIXES:
-.SUFFIXES: .asm .tx .o .gbc .png .2bpp .1bpp .lz .pal .bin .blk .tilemap
+.SUFFIXES: .asm .o .gbc .png .2bpp .1bpp .lz .pal .bin .blk .tilemap
 .PHONY: all clean crystal pngs
 .SECONDEXPANSION:
 
@@ -54,8 +54,7 @@
 crystal: pokecrystal.gbc
 
 clean:
-	rm -f $(roms) $(all_obj)
-	find . -iname '*.tx' -exec rm {} +
+	rm -f $(roms) $(all_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
 
 baserom.gbc: ;
 	@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false