14 lines
146 B
Makefile
14 lines
146 B
Makefile
|
|
||
|
DOT = $(wildcard *.dot)
|
||
|
PDF = $(DOT:.dot=.pdf)
|
||
|
|
||
|
.PHONY: build
|
||
|
build: $(PDF)
|
||
|
|
||
|
%.pdf: %.dot
|
||
|
dot -Tpdf $< -o $@
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
rm -f *.pdf
|