]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/Makefile
Added generation of dependency graph for the ocaml modules in matita/
[helm.git] / matita / Makefile
index c51e7b7b653e6f6e2e936c77077d57641a156c65..896529cf43b4ccb6f412278c63abb43fe4acf580 100644 (file)
@@ -405,6 +405,11 @@ endif
 $(CMOS): $(LIB_DEPS)
 $(CMOS:%.cmo=%.cmx): $(LIBX_DEPS)
 
+deps.ps: deps.dot
+       dot -Tps -o $@ $<
+deps.dot: .depend
+       ./dep2dot.rb < $< | tred > $@
+
 ifeq ($(MAKECMDGOALS),all)
    $(CMOS:%.cmo=%.cmi): $(LIB_DEPS)
 endif