blob: 9628dcfff76cfe1c41882f4348f115d02e608e56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
BUILDDIR = build
SRCDIR = cards
PNG_TARGETS = $(patsubst $(SRCDIR)/%.svg,$(BUILDDIR)/%.png,$(wildcard $(SRCDIR)/*.svg))
.PHONY: all clean
all: $(PNG_TARGETS)
$(BUILDDIR)/%.png: $(SRCDIR)/%.svg
mkdir -p ${BUILDDIR}
inkscape $< --export-area-drawing -o $@ --export-dpi=600 -y 0
|