11 lines
148 B
Makefile
11 lines
148 B
Makefile
.PHONY : all clean
|
|
|
|
PNG_FILES = $(patsubst %.dot,%.png,$(wildcard *.dot))
|
|
|
|
all: $(PNG_FILES)
|
|
|
|
%.png: %.dot
|
|
dot -Tpng $< -o $@
|
|
|
|
clean:
|
|
rm -f *.png
|