My logo.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile 239B

1234567891011121314151617
  1. WIDTH=1000
  2. ALLSRC=$(wildcard src/*.svg)
  3. ALLPNG=$(patsubst src/%,out/%,$(patsubst %.svg,%.png,$(ALLSRC)))
  4. all: $(ALLPNG)
  5. out/%.png: src/%.svg | out
  6. inkscape -w $(WIDTH) -e $@ $<
  7. out:
  8. mkdir -p out
  9. clean:
  10. rm -r out
  11. .PHONY: all clean