aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index eecc1565..bd6fff9b 100644
--- a/Makefile
+++ b/Makefile
@@ -160,14 +160,14 @@ gfx/surfing_pikachu/surfing_pikachu_3.2bpp: tools/gfx += --trim-whitespace
%.png: ;
%.2bpp: %.png
- $(RGBGFX) $(rgbgfx) -o $@ $<
+ $(RGBGFX) --colors dmg=e4 $(rgbgfx) -o $@ $<
$(if $(tools/gfx),\
- tools/gfx $(tools/gfx) -o $@ $@)
+ tools/gfx $(tools/gfx) -o $@ $@ || $$($(RM) $@ && false))
%.1bpp: %.png
- $(RGBGFX) $(rgbgfx) --depth 1 -o $@ $<
+ $(RGBGFX) --colors dmg=e4 $(rgbgfx) --depth 1 -o $@ $<
$(if $(tools/gfx),\
- tools/gfx $(tools/gfx) --depth 1 -o $@ $@)
+ tools/gfx $(tools/gfx) --depth 1 -o $@ $@ || $$($(RM) $@ && false))
%.pic: %.2bpp
tools/pkmncompress $< $@