SEQ=3
all: matita.xcf
- convert -flatten matita.xcf matita.png
for Y in `seq 0 $(SEQ)`; do \
convert matita.png -crop \
$(SIZE_X)x$(SIZE_Y)+$(MARGIN_X)+`expr $(MARGIN_Y) + $$Y '*' '(' $(SIZE_Y) + 1 ')'` tmp.png; \
for X in `seq 0 $(SEQ)`; do\
rm bg$$X.png;\
done
- rm matita.png