.PHONY: clean build

DOT = $(wildcard *.dot)
PDF = $(DOT:.dot=.pdf)

build: $(PDF)

%.pdf: %.dot
	dot -Tpdf $< -o $@

clean:
	rm -f $(PDF)