summaryrefslogtreecommitdiff
path: root/docs/chapter03/Makefile
diff options
context:
space:
mode:
authorDibyendu Majumdar <mobile@majumdar.org.uk>2023-10-01 18:01:54 +0100
committerDibyendu Majumdar <mobile@majumdar.org.uk>2024-11-27 11:29:33 -0800
commita2a42257aaf2d78fd386f1bedd12f41bde3df119 (patch)
tree9fd9c9f1267bb48ceb6dc16fa8df609c40a93b46 /docs/chapter03/Makefile
parent3b02b5bdffaf2e3191d55fbb468dc765eb439025 (diff)
downloadSimple-a2a42257aaf2d78fd386f1bedd12f41bde3df119.tar.gz
Simple-a2a42257aaf2d78fd386f1bedd12f41bde3df119.zip
Chapter 3: Variable Declarations
Co-authored-by: Cliff Click <cliffc@acm.org> 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: XmiliaH <45106915+XmiliaH@users.noreply.github.com>
Diffstat (limited to 'docs/chapter03/Makefile')
-rw-r--r--docs/chapter03/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter03/Makefile b/docs/chapter03/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter03/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)