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