]> matita.cs.unibo.it Git - helm.git/commitdiff
- added references to gTopLevel needed modules
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 21 Jan 2003 11:36:07 +0000 (11:36 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 21 Jan 2003 11:36:07 +0000 (11:36 +0000)
helm/searchEngine/Makefile

index 7be42086c9636999ec74cff340d11d915defb012..7d8ed641949d438ae1b8b7248305589ab13c9584 100644 (file)
@@ -5,16 +5,21 @@ OCAMLOPTIONS = -package "$(REQUIRES)" -pp camlp4o -I ../gTopLevel -thread
 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
 
-GTOPLEVEL_MODULES = mQueryLevels mQueryGenerator
+GTOPLEVEL_MODULES = mQueryLevels2 mQueryGenerator disambiguate
+MODULES =
+CMOS = $(patsubst %,%.cmo,$(MODULES))
+CMXS = $(patsubst %,%.cmx,$(MODULES))
 LIBRARIES =    $(patsubst %,../gTopLevel/%.cmo,$(GTOPLEVEL_MODULES))
 LIBRARIES_OPT =        $(patsubst %,../gTopLevel/%.cmx,$(GTOPLEVEL_MODULES))
 
-all: searchEngine
+all: opt
+world: byte opt
+byte: searchEngine
 opt: searchEngine.opt
 
-searchEngine: $(LIBRARIES) searchEngine.ml
+searchEngine: $(LIBRARIES) $(CMOS) searchEngine.ml
        $(OCAMLC) -linkpkg -o $@ $^
-searchEngine.opt: $(LIBRARIES_OPT) searchEngine.ml
+searchEngine.opt: $(LIBRARIES_OPT) $(CMXS) searchEngine.ml
        $(OCAMLOPT) -linkpkg -o $@ $^
 
 clean: