aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d05541b0..085b78f3 100644
--- a/Makefile
+++ b/Makefile
@@ -171,6 +171,14 @@ gfx/sgb/border.2bpp: tools/gfx += --trim-whitespace
gfx/surfing_pikachu/surfing_pikachu_1c.2bpp: tools/gfx += --trim-whitespace
+### Custom graphics rules
+
+# SL0P intro splash: dedup tiles (-u) and emit a tilemap (-t) alongside the
+# 2bpp, both INCBIN'd by engine/slop_intro.asm.
+gfx/slop/intro.2bpp: gfx/slop/intro.png
+ $(RGBGFX) $(RGBGFXFLAGS) -u -t gfx/slop/intro.tilemap -o $@ $<
+gfx/slop/intro.tilemap: gfx/slop/intro.2bpp ;
+
### Catch-all graphics rules
%.2bpp: %.png