summaryrefslogtreecommitdiff
path: root/docs/chapter12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/chapter12/Makefile')
-rw-r--r--docs/chapter12/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter12/Makefile b/docs/chapter12/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter12/Makefile
@@ -0,0 +1,12 @@
+GV := $(wildcard *.gv)
+SVG := $(patsubst %.gv,%.svg,$(GV))
+
+.PHONY: all
+all: $(SVG)
+
+%.svg: %.gv
+ dot -Tsvg $< > $@
+
+.PHONY: clean
+clean:
+ @rm -f $(SVG)