summaryrefslogtreecommitdiff
path: root/docs/chapter04/Makefile
diff options
context:
space:
mode:
authorDibyendu Majumdar <mobile@majumdar.org.uk>2023-10-20 15:21:08 -0700
committerDibyendu Majumdar <mobile@majumdar.org.uk>2024-10-23 17:51:09 -0700
commit83fdf059150e37c335a86e3dd4547a76a1c588db (patch)
tree7df24a5366647c8f9cf083ead43ca106f1d23430 /docs/chapter04/Makefile
parent0e8916e1a4ae550357401b37df6fdca683c221f7 (diff)
downloadSimple-83fdf059150e37c335a86e3dd4547a76a1c588db.tar.gz
Simple-83fdf059150e37c335a86e3dd4547a76a1c588db.zip
Chapter 4: External Argument and Comparisonslinear-chapter04
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: 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)