diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2b265e7 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ + +BUILDDIR = build +SRCDIR = src + + +PNG_TARGETS = $(patsubst $(SRCDIR)/%-source.svg,$(BUILDDIR)/%.png,$(wildcard $(SRCDIR)/*-source.svg)) + +.PHONY: all clean +all: $(PNG_TARGETS) + +$(BUILDDIR)/%.png: $(SRCDIR)/%-source.svg + mkdir -p ${BUILDDIR} + inkscape $< -i layer3 -j -C -e $@ -w 181 -h 209 -y 0 + +clean: + rm -f ${BUILDDIR}/*.png ${BUILDDIR}/*.svg |