summaryrefslogtreecommitdiffstats
path: root/src/rapidjson/doc/diagram/makefile
blob: 3483977655da393efd59867e27547c73c2388689 (plain)
1
2
3
4
5
6
7
8
%.pdf: %.dot
	dot $< -Tpdf -o $@

%.png: %.dot
	dot $< -Tpng -o $@

DOTFILES = $(basename $(wildcard *.dot))
all: $(addsuffix .png, $(DOTFILES)) $(addsuffix .pdf, $(DOTFILES))