diff options
-rw-r--r-- | mopew/mandala/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mopew/mandala/Makefile b/mopew/mandala/Makefile new file mode 100644 index 0000000..9628dcf --- /dev/null +++ b/mopew/mandala/Makefile @@ -0,0 +1,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 |