diff options
Diffstat (limited to 'docs/chapter10a/Makefile')
| -rw-r--r-- | docs/chapter10a/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/chapter10a/Makefile b/docs/chapter10a/Makefile new file mode 100644 index 00000000..055882b2 --- /dev/null +++ b/docs/chapter10a/Makefile @@ -0,0 +1,14 @@ +GV := $(wildcard *.gv) +SVG := $(patsubst %.gv,%.svg,$(GV)) +.DELETE_ON_ERROR: + +.PHONY: all +all: $(SVG) + +%.svg: %.gv + dot -Tsvg $< > $@ + @sed -i 's/\r$$//' $@ + +.PHONY: clean +clean: + @rm -f $(SVG) |
