shithub: pokecrystal

Download patch

ref: 7fba864883732ccecb1221ae7ff97492d112362a
parent: 5bd84e7b4d9abc4a471223194339034a2d1835b1
author: yenatch <yenatch@gmail.com>
date: Sun Jan 21 20:03:04 EST 2018

Add back catch-all graphics rules.

.pal -> .gbcpal has been omitted for now since there's no tool to convert it yet.

--- a/Makefile
+++ b/Makefile
@@ -234,3 +234,10 @@
 	$(RGBGFX) $(rgbgfx) -d1 -o $@ $<
 	$(if $(tools/gfx),\
 		tools/gfx $(tools/gfx) -d1 -o $@ $@)
+
+%.tilemap: %.png
+	$(RGBGFX) -t $@ $<
+%.gbcpal: %.png
+	$(RGBGFX) -p $@ $<
+%.dimensions: %.png
+	tools/png_dimensions $< $@