ungleich-graphviz/Makefile
Nico Schottelius 77d808dcbd generate jpgs
2020-06-18 17:52:22 +02:00

19 lines
331 B
Makefile

all:
for dot in *.dot; do make $${dot%%.dot}.png; done
for dot in *.dot; do make $${dot%%.dot}.pdf; done
for dot in *.dot; do make $${dot%%.dot}.svg; done
clean:
rm -f *.png *.pdf *.svg
%.png: %.dot
dot -Tpng < $< > $@
%.jpg: %.dot
dot -Tjpg < $< > $@
%.pdf: %.dot
dot -Tpdf < $< > $@
%.svg: %.dot
dot -Tsvg < $< > $@