summaryrefslogtreecommitdiff
path: root/docs/chapter05/Makefile
diff options
context:
space:
mode:
authorDibyendu Majumdar <mobile@majumdar.org.uk>2023-10-27 20:35:04 +0100
committerDibyendu Majumdar <mobile@majumdar.org.uk>2024-11-16 15:19:12 -0800
commit1950e4db3f81d5b3ab07add23a1f697f90d3682b (patch)
treeee7492409e58d74520ab555e80d89578341d0863 /docs/chapter05/Makefile
parent1f5078741096dc2fe52a75fb5a25bde8e92e8a31 (diff)
downloadSimple-1950e4db3f81d5b3ab07add23a1f697f90d3682b.tar.gz
Simple-1950e4db3f81d5b3ab07add23a1f697f90d3682b.zip
Chapter 5: If Statement, Phi, and Region
Co-authored-by: Cliff Click <cliffc@acm.org> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> 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: David Rubin <87927264+Rexicon226@users.noreply.github.com>
Diffstat (limited to 'docs/chapter05/Makefile')
-rw-r--r--docs/chapter05/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/chapter05/Makefile b/docs/chapter05/Makefile
new file mode 100644
index 00000000..12659b8f
--- /dev/null
+++ b/docs/chapter05/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)