ROACH_NONET=$(patsubst roach/%, roach_nonet/%, $(ROACH))
ROACH_BIG=$(patsubst roach/%, roach_big/%, $(ROACH))
+# Aggregate serum sprites
+
+SERUM=$(filter serum/%, $(TILE_PNGS))
+SERUM_BIG=$(patsubst serum/%, serum_big/%, $(SERUM))
+
# Default target with everything
all: $(TILE_PNGS) $(BTILE_PNGS) $(SIMPLE_PNGS)\
- $(ROACH_32) $(ROACH_21) $(ROACH_QUARTET) $(ROACH_NONET) $(ROACH_BIG)
+ $(ROACH_32) $(ROACH_21) $(ROACH_QUARTET) $(ROACH_NONET) $(ROACH_BIG)\
+ $(SERUM_BIG)
# Vector tile rule
@mkdir -p `dirname $@`
@inkscape -z -e $@ -w 192 -h 192 $<
+# Big serums
+
+serum_big/%.png: vector/serum/%.svg
+ @mkdir -p `dirname $@`
+ @inkscape -z -e $@ -w 192 -h 192 $<
+
# Roach quartet
roach_quartet/roach_%.png: $(foreach i, 1 2 3 4, roach_32/roach_$(i).png)