ref: d6820cdcbfe48adb3ef7935b84c21fcb7796e701
parent: 4e6adcddff69fd53ce342ead502a0699cd5f75ba
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Jul 5 10:15:49 EDT 2020
File-specific graphics rules update rgbgfx (flags only), not RGBGFX (program path), like pokecrystal Fixes #227
--- a/Makefile
+++ b/Makefile
@@ -106,12 +106,12 @@
gfx/battle/attack_anim_1.2bpp: tools/gfx += --trim-whitespace
gfx/battle/attack_anim_2.2bpp: tools/gfx += --trim-whitespace
-gfx/intro_credits/blue_jigglypuff_1.2bpp: $(RGBGFX) += -h
-gfx/intro_credits/blue_jigglypuff_2.2bpp: $(RGBGFX) += -h
-gfx/intro_credits/blue_jigglypuff_3.2bpp: $(RGBGFX) += -h
-gfx/intro_credits/red_nidorino_1.2bpp: $(RGBGFX) += -h
-gfx/intro_credits/red_nidorino_2.2bpp: $(RGBGFX) += -h
-gfx/intro_credits/red_nidorino_3.2bpp: $(RGBGFX) += -h
+gfx/intro_credits/blue_jigglypuff_1.2bpp: rgbgfx += -h
+gfx/intro_credits/blue_jigglypuff_2.2bpp: rgbgfx += -h
+gfx/intro_credits/blue_jigglypuff_3.2bpp: rgbgfx += -h
+gfx/intro_credits/red_nidorino_1.2bpp: rgbgfx += -h
+gfx/intro_credits/red_nidorino_2.2bpp: rgbgfx += -h
+gfx/intro_credits/red_nidorino_3.2bpp: rgbgfx += -h
gfx/intro_credits/the_end.2bpp: tools/gfx += --interleave --png=$<
@@ -134,7 +134,7 @@
tools/gfx $(tools/gfx) -o $@ $@)
%.1bpp: %.png
- $(RGBGFX) -d1 $(rgbgfx) -o $@ $<
+ $(RGBGFX) $(rgbgfx) -d1 -o $@ $<
$(if $(tools/gfx),\
tools/gfx $(tools/gfx) -d1 -o $@ $@)