]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/Makefile
Makefile.common.in and .depend backtracked to my last commit (before the
[helm.git] / helm / gTopLevel / Makefile
index c3626bcd038c46de8fd134cf1714a6f38e8da293..7822b1ace7d0fa5accc5b68359a0540551c605f7 100644 (file)
@@ -22,13 +22,15 @@ DEPOBJS = \
        sequentPp.ml sequentPp.mli mQueryGenerator.mli mQueryLevels.ml \
        mQueryLevels2.mli mQueryLevels2.ml mQueryGenerator.ml misc.ml misc.mli \
         disambiguate.ml disambiguate.mli termEditor.ml termEditor.mli \
-        applyStylesheets.ml applyStylesheets.mli gTopLevel.ml
+        applyStylesheets.ml applyStylesheets.mli termViewer.ml \
+        termViewer.mli invokeTactics.ml invokeTactics.mli gTopLevel.ml
 
 TOPLEVELOBJS = \
        xml2Gdome.cmo proofEngine.cmo doubleTypeInference.cmo cic2acic.cmo \
        cic2Xml.cmo logicalOperations.cmo sequentPp.cmo mQueryLevels.cmo \
        mQueryLevels2.cmo mQueryGenerator.cmo misc.cmo disambiguate.cmo \
-       termEditor.cmo applyStylesheets.cmo gTopLevel.cmo
+       termEditor.cmo applyStylesheets.cmo termViewer.cmo invokeTactics.cmo \
+        gTopLevel.cmo
 
 depend:
        $(OCAMLDEP) $(DEPOBJS) > .depend
@@ -40,13 +42,16 @@ gTopLevel.opt: $(TOPLEVELOBJS:.cmo=.cmx) $(LIBRARIES_OPT)
        $(OCAMLOPT) -linkpkg -o gTopLevel.opt $(TOPLEVELOBJS:.cmo=.cmx)
 
 .SUFFIXES: .ml .mli .cmo .cmi .cmx
-.ml.cmo: $(LIBRARIES)
+.ml.cmo:
        $(OCAMLC) -c $<
-.mli.cmi: $(LIBRARIES)
+.mli.cmi:
        $(OCAMLC) -c $<
-.ml.cmx: $(LIBRARIES_OPT)
+.ml.cmx:
        $(OCAMLOPT) -c $<
 
+$(TOPLEVELOBJS): $(LIBRARIES)
+$(TOPLEVELOBJS:.cmo=.cmx)): $(LIBRARIES_OPT)
+
 clean:
        rm -f *.cm[iox] *.o gTopLevel gTopLevel.opt
 
@@ -58,4 +63,6 @@ uninstall:
 
 .PHONY: install uninstall clean
 
-include .depend
+ifneq ($(MAKECMDGOALS), depend)
+   include .depend   
+endif