summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f9bc8510..546074a5 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ silver: pokesilver.gbc
clean:
rm -f $(roms) $(gold_obj) $(silver_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) rgbdscheck.o
- find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" \) -delete
+ find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" -o -name "*.dimensions" \) -delete
$(MAKE) clean -C tools/
tidy:
@@ -224,3 +224,6 @@ gfx/sgb/silver_border.2bpp: tools/gfx += --trim-whitespace
%.gbcpal: %.png
$(RGBGFX) -p $@ $<
+
+%.dimensions: %.png
+ tools/png_dimensions $< $@