diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-06-14 18:32:33 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-06-14 18:32:33 -0400 |
commit | 1521f52e37741a9220a1362443df6d0462e582d3 (patch) | |
tree | 781277010d81b9ff820931da9be3e617be8cbe17 /Makefile | |
parent | 94a70b63cf7f1a9dbfc14fcee8e390791fc17a1b (diff) |
Make .gbcpal files for Pokémon and trainer sprites
Pokémon use their back sprites since front sprites differ between Gold and Silver.
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" \) -delete + find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" \) -delete $(MAKE) clean -C tools/ tidy: @@ -221,3 +221,6 @@ gfx/sgb/silver_border.2bpp: tools/gfx += --trim-whitespace $(RGBGFX) $(rgbgfx) -d1 -o $@ $< $(if $(tools/gfx),\ tools/gfx $(tools/gfx) -d1 -o $@ $@) + +%.gbcpal: %.png + $(RGBGFX) -p $@ $< |