aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-18 16:45:52 -0300
committerBad Diode <bd@badd10de.dev>2022-04-18 16:45:52 -0300
commit7cf1451ab52586ed9c4eeae1b1ec3b4ebaa83393 (patch)
treea427a42f549b1dcbc916ed635091a19ee6f489ce /Makefile
parent3da041f2e17fdeb69bf345aadf89c5fcc1814260 (diff)
downloadbdl-7cf1451ab52586ed9c4eeae1b1ec3b4ebaa83393.tar.gz
bdl-7cf1451ab52586ed9c4eeae1b1ec3b4ebaa83393.zip
Add cmd options for viz of different compile stages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d8e95f0..6c898a9 100644
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,14 @@ tests: $(BIN)
54run: $(BIN) 54run: $(BIN)
55 $(BIN) example.bdl 55 $(BIN) example.bdl
56 56
57viz: $(BIN) 57viz_lex: $(BIN)
58 $(BIN) example.bdl | dot -Nfontname="Iosevka Term" -Tpng > viz.png 58 $(BIN) -pl example.bdl
59
60viz_par: $(BIN)
61 $(BIN) -pp example.bdl | dot -Nfontname="Iosevka Term" -Tpng > viz.png
62
63viz_sem: $(BIN)
64 $(BIN) -ps example.bdl | dot -Nfontname="Iosevka Term" -Tpng > viz.png
59 65
60# Remove build directory. 66# Remove build directory.
61clean: 67clean: