7 lines
161 B
Makefile
7 lines
161 B
Makefile
svg_files=$(wildcard svg/*.svg)
|
|
png_files=$(patsubst svg/%.svg,png/%.png,$(svg_files))
|
|
|
|
png/%.png: svg/%.svg
|
|
inkscape -z -w 50 -h 50 $< -e $@
|
|
|
|
all: $(png_files) |