From cd5aa8d01a0f2db4bf19ce6d5e7a2c7a411438a9 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Tue, 3 Jun 2003 13:44:53 +0000 Subject: [PATCH] Added the new target $(PACKAGE).ps to draw the dependency graph of the package. --- helm/ocaml/Makefile.common.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm/ocaml/Makefile.common.in b/helm/ocaml/Makefile.common.in index 42015d622..47d02bb42 100644 --- a/helm/ocaml/Makefile.common.in +++ b/helm/ocaml/Makefile.common.in @@ -40,6 +40,12 @@ opt: $(IMPLEMENTATION_FILES:%.ml=%.cmx) $(ARCHIVE_OPT) depend: $(DEPEND_FILES) $(OCAMLDEP) $(INTERFACE_FILES) $(IMPLEMENTATION_FILES) > .depend +$(PACKAGE).ps: .dep.dot + dot -Tps -o $@ $< + +.dep.dot: .depend + ocamldot < .depend > $@ + .SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly .ml.cmo: $(OCAMLC) -c $< -- 2.39.2