Makefile 155 B

1234567
  1. %.png: %.dot
  2. @dot -T png -o $@ $<
  3. all: $(addsuffix .png, $(basename $(wildcard *.dot)))
  4. clean:
  5. @rm -f $(addsuffix .png, $(basename $(wildcard *.dot)))