ungleich-graphviz/Makefile
2020-01-09 11:15:47 +01:00

16 lines
296 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 < $< > $@
%.pdf: %.dot
dot -Tpdf < $< > $@
%.svg: %.dot
dot -Tsvg < $< > $@