diff options
Diffstat (limited to 'chapter23/docs/Makefile')
| -rw-r--r-- | chapter23/docs/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter23/docs/Makefile b/chapter23/docs/Makefile new file mode 100644 index 00000000..12659b8f --- /dev/null +++ b/chapter23/docs/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) |
