]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/Makefile
new makefiles
[helm.git] / matita / Makefile
index 9043c9ff83cd00e5e33765cbbf26beb4a5fc8de3..ab03a892f002094e57d0169af7a0dfe932ef08a9 100644 (file)
@@ -35,6 +35,7 @@ CMOS =                                \
        matitaExcPp.cmo         \
        matitaEngine.cmo        \
        matitacLib.cmo          \
+       matitaprover.cmo        \
        applyTransformation.cmo \
        matitaGtkMisc.cmo       \
        matitaScript.cmo        \
@@ -115,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
@@ -196,6 +203,9 @@ distclean: clean
 TEST_DIRS =                            \
        library                         \
        tests                           \
+       dama                            \
+       contribs/CoRN                   \
+       contribs/RELATIONAL             \
        contribs/LAMBDA-TYPES           \
        contribs/PREDICATIVE-TOPOLOGY   \
        $(NULL)
@@ -398,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