shithub: pokecrystal

Download patch

ref: cc953049121677729484240dc557aa6d5532057b
parent: 3de254f7a2db89070f8821646885d438c74c0ad3
author: yenatch <[email protected]>
date: Mon Dec 2 10:23:34 EST 2013

Makefile: clean doesnt need object dependencies

--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,18 @@
 
 ROMS := pokecrystal.gbc
 
+all: baserom.gbc globals.asm $(ROMS)
+	cmp baserom.gbc pokecrystal.gbc
+clean:
+	rm -f $(ROMS)
+	rm -f $(OBJS)
+	rm -f globals.asm globals.tx
+	@echo 'Removing preprocessed .tx files...'
+	@rm -f $(TEXTFILES:.asm=.tx)
+
+baserom.gbc:
+	@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
+
 PNGS   := $(shell find gfx/ -type f -name '*.png')
 LZS    := $(shell find gfx/ -type f -name '*.lz')
 _2BPPS := $(shell find gfx/ -type f -name '*.2bpp')
@@ -38,18 +50,6 @@
 		$(shell $(PYTHON) scan_includes.py $(obj:.o=.asm) | sed s/globals.asm//g)) \
 	) \
 )
-
-all: baserom.gbc globals.asm $(ROMS)
-	cmp baserom.gbc pokecrystal.gbc
-clean:
-	rm -f $(ROMS)
-	rm -f $(OBJS)
-	rm -f globals.asm globals.tx
-	@echo 'Removing preprocessed .tx files...'
-	@rm -f $(TEXTFILES:.asm=.tx)
-
-baserom.gbc:
-	@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
 
 .asm.tx:
 	$(eval TEXTQUEUE := $(TEXTQUEUE) $<)