aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-10-01 12:46:30 -0700
committerJohn MacFarlane <[email protected]>2022-10-01 12:46:30 -0700
commit89e7e9b636d2364ef766b97c533dc3f685a794d6 (patch)
tree1ffb7b4c1dba8803ee335cbbb5e0d702a4b8bb0f /Makefile
parent20f82b0a8b47cdcdead0939a2c8fd2d459774fc7 (diff)
Makefile: add moduledeps target.
make moduledeps ROOTNODE=T.P.Parsing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9388c5d6f..4d58079bc 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,11 @@ modules.dot: $(SOURCEFILES)
modules.pdf: modules.dot
gvpr -f tools/cliptree.gvpr -a '"$(ROOTNODE)"' $< | dot -Tpdf > $@
+# make moduledeps ROOTNODE=T.P.Parsing
+moduledeps: modules.dot ## Print dependencies of a module ROOTNODE
+ gvpr -f tools/depthfirst.gvpr -a '"$(ROOTNODE)"' modules.dot
+.PHONY: moduledeps
+
clean: ## clean up
cabal clean
.PHONY: clean