summaryrefslogtreecommitdiff
path: root/docs/chapter10b/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-09-29 12:34:58 -0700
committerCliff Click <cliffc@acm.org>2026-09-29 12:34:58 -0700
commitf05ad3837117b3b8cb830981aae619c583d7e694 (patch)
treeceed1399ae4c062adaedfc98625ac5fe632731fe /docs/chapter10b/Makefile
parent502e7e752f3efdb069a36b23ab51ac22f9d74e9e (diff)
downloadSimple-linear-chapter10b.tar.gz
Simple-linear-chapter10b.zip
Chapter 10b: Splitting Memorylinear-chapter10b
Diffstat (limited to 'docs/chapter10b/Makefile')
-rw-r--r--docs/chapter10b/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/chapter10b/Makefile b/docs/chapter10b/Makefile
new file mode 100644
index 00000000..055882b2
--- /dev/null
+++ b/docs/chapter10b/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)