1 VPATH=../../sources/vector
4 TURNIP=turnip1 turnip2 turnip3
5 MOULD_BODY=mouldA mouldB mouldC
6 MOULD=eyeballA eyeballB eyeballC eyelid
7 LIGHT=spotlight lamp laser
8 LIGHT_MASK=light_mask_2_1 light_mask_2_2 light_mask_3_1 light_mask_3_2 light_mask_3_3
9 CONTROLS=night default_cursor exit pause play day
13 IMG32=$(MOULD_BODY) $(MOULD) $(LIGHT) $(SEED) $(LIGHT_MASK) $(CONTROLS)
14 IMG48=$(LIGHT) $(TURNIP) $(LIGHT_MASK) $(BLANKS)
17 CURSORS=$(SEED) $(LIGHT)
19 PNG16=$(patsubst %, 16/%.png, $(IMG16))
20 PNG32=$(patsubst %, 32/%.png, $(IMG32))
21 PNG48=$(patsubst %, 48/%.png, $(IMG48))
22 PNG64=$(patsubst %, 64/%.png, $(IMG64))
23 PNG_CURSORS=$(patsubst %, cursors/%.png, $(CURSORS))
25 all: $(PNG16) $(PNG32) $(PNG48) $(PNG64) $(PNG_CURSORS)
28 @mkdir -p `dirname $@`
29 @inkscape -z -e $@ -w 16 -h 16 $<
32 @mkdir -p `dirname $@`
33 @inkscape -z -e $@ -w 32 -h 32 $<
36 @mkdir -p `dirname $@`
37 @inkscape -z -e $@ -w 48 -h 48 $<
40 @mkdir -p `dirname $@`
41 @inkscape -z -e $@ -w 64 -h 64 $<
43 cursors/%.png: 32/%.png