From b6b573152cb86ff47cac3f6cae95fa1edcd3a64f Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 14 Jun 2020 19:00:34 -0400 Subject: =?UTF-8?q?Derive=20Pok=C3=A9mon=20frontpic=20dimensions=20using?= =?UTF-8?q?=20tools/png=5Fdimensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 $< $@ -- cgit v1.2.3