dotfiles = $(shell ls *.dot | sed -e 's/\.dot/\.pdf/')
all: $(dotfiles)
%.pdf: %.dot
dot -Tpdf $< -o $@
clean:
rm -f *.pdf