X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2FMakefile;h=ab03a892f002094e57d0169af7a0dfe932ef08a9;hb=7fed865c7cd7ea742a360158a931a3fa734ee446;hp=d87651b107f79391238f7fe5e5b6c2c877a19519;hpb=b0488cec66ab5dc904b895516474b83a00ac2153;p=helm.git diff --git a/matita/Makefile b/matita/Makefile index d87651b10..ab03a892f 100644 --- a/matita/Makefile +++ b/matita/Makefile @@ -116,6 +116,12 @@ links: $(H)ln -sf matita.opt matita $(H)ln -sf matitac.opt matitac +linkonly: + $(H)echo " OCAMLC matita.ml" + $(H)$(OCAMLC) $(PKGS) -linkpkg -o matita $(CMOS) matita.ml + $(H)echo " OCAMLC matitac.ml" + $(H)$(OCAMLC) $(CPKGS) -linkpkg -o matitac $(CCMOS) $(MAINCMOS) matitac.ml +.PHONY: linkonly matita: matita.ml $(LIB_DEPS) $(CMOS) $(H)echo " OCAMLC $<" $(H)$(OCAMLC) $(PKGS) -linkpkg -o $@ $(CMOS) matita.ml @@ -197,9 +203,12 @@ distclean: clean TEST_DIRS = \ library \ tests \ + dama \ + contribs/CoRN \ + contribs/RELATIONAL \ + contribs/LAMBDA-TYPES \ + contribs/PREDICATIVE-TOPOLOGY \ $(NULL) -# contribs/LAMBDA-TYPES \ -# contribs/PREDICATIVE-TOPOLOGY \ .PHONY: tests tests.opt cleantests cleantests.opt tests: $(foreach d,$(TEST_DIRS),$(d)-test) @@ -399,6 +408,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