summaryrefslogtreecommitdiffstats
path: root/src/rapidjson/doc/diagram/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/rapidjson/doc/diagram/makefile')
-rw-r--r--src/rapidjson/doc/diagram/makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rapidjson/doc/diagram/makefile b/src/rapidjson/doc/diagram/makefile
new file mode 100644
index 00000000..34839776
--- /dev/null
+++ b/src/rapidjson/doc/diagram/makefile
@@ -0,0 +1,8 @@
+%.pdf: %.dot
+ dot $< -Tpdf -o $@
+
+%.png: %.dot
+ dot $< -Tpng -o $@
+
+DOTFILES = $(basename $(wildcard *.dot))
+all: $(addsuffix .png, $(DOTFILES)) $(addsuffix .pdf, $(DOTFILES))