summaryrefslogtreecommitdiff
path: root/docs/chapter06/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2023-11-11 23:17:22 +0000
committerCliff Click <cliffc@acm.org>2025-01-09 12:19:55 -0800
commit7cdc3a61a6ed9dc6d68d731d1d2777d18ddaba27 (patch)
tree6c317c2c1f2111588a6c6d326a31d6c2737eda1d /docs/chapter06/Makefile
parent723389372abbc0b72759e1c9beaf04ef55788854 (diff)
downloadSimple-7cdc3a61a6ed9dc6d68d731d1d2777d18ddaba27.tar.gz
Simple-7cdc3a61a6ed9dc6d68d731d1d2777d18ddaba27.zip
Chapter 6: Peepholes for If
Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: Yichen Yan <oraluben@outlook.com> Co-authored-by: Tamas Hadhazy <helsgithub15@gmail.com> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter06/Makefile')
-rw-r--r--docs/chapter06/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter06/Makefile b/docs/chapter06/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter06/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)