]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/topLevel/Makefile
MathQL query generator: new interface
[helm.git] / helm / gTopLevel / topLevel / Makefile
index 01dd0e1735154710d0ba4e477faff058249951cf..5b31465312960fec23ef9605220d6c5f69ee5a4a 100644 (file)
@@ -4,7 +4,7 @@ PREDICATES =
 OCAMLOPTIONS = -I .. -package "$(REQUIRES)" -predicates "$(PREDICATES)"
 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
+OCAMLDEP = ocamldep -I ..
 
 LIBRARIES = $(shell ocamlfind query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES))
 LIBRARIES_OPT = $(shell ocamlfind query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES))
@@ -14,7 +14,7 @@ opt: topLevel.opt
 
 DEPOBJS = topLevel.ml
 
-TOPLEVELOBJS = ../mQueryGenerator.cmo topLevel.cmo
+TOPLEVELOBJS = ../mQueryLevels.cmo ../mQueryGenerator.cmo topLevel.cmo
 
 depend:
        $(OCAMLDEP) $(DEPOBJS) > .depend
@@ -44,4 +44,6 @@ uninstall:
 
 .PHONY: install uninstall clean
 
-include .depend
+ifneq ($(MAKECMDGOALS), depend)
+   include .depend   
+endif