summaryrefslogtreecommitdiff
path: root/docs/chapter04/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2023-10-20 15:21:08 -0700
committerCliff Click <cliffc@acm.org>2024-12-30 14:16:36 -0800
commit2d921ba17eec6408705a9434657eaeba724f24c8 (patch)
treecd8ae26e7c04d692b160e2df243abaae8017950d /docs/chapter04/Makefile
parenta2a42257aaf2d78fd386f1bedd12f41bde3df119 (diff)
downloadSimple-2d921ba17eec6408705a9434657eaeba724f24c8.tar.gz
Simple-2d921ba17eec6408705a9434657eaeba724f24c8.zip
Chapter 4: External Argument and Comparisons
Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: Yichen Yan <oraluben@outlook.com> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: Tamas Hadhazy <helsgithub15@gmail.com> Co-authored-by: Hels15 <helsgithub15@gmail.com> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com>
Diffstat (limited to 'docs/chapter04/Makefile')
-rw-r--r--docs/chapter04/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter04/Makefile b/docs/chapter04/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter04/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)