diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-06-14 19:00:34 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-06-14 19:00:34 -0400 |
commit | b6b573152cb86ff47cac3f6cae95fa1edcd3a64f (patch) | |
tree | 5eb78ee9ae0676fa79343eb074272281ff3cce91 /Makefile | |
parent | 1521f52e37741a9220a1362443df6d0462e582d3 (diff) |
Derive Pokémon frontpic dimensions using tools/png_dimensions
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 $< $@ |