]> matita.cs.unibo.it Git - helm.git/commitdiff
patched Makefile to link also ../gTopLevel/mQueryLevels.cm{o,x} which
authorStefano Zacchiroli <zack@upsilon.cc>
Wed, 27 Nov 2002 13:59:11 +0000 (13:59 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Wed, 27 Nov 2002 13:59:11 +0000 (13:59 +0000)
were splitted away from ../gTopLevel/mQueryGenerator.cm{o,x}

helm/searchEngine/Makefile

index 3d979cd3466fdab757e0d8d72510e3c4f9440e32..7be42086c9636999ec74cff340d11d915defb012 100644 (file)
@@ -5,8 +5,9 @@ OCAMLOPTIONS = -package "$(REQUIRES)" -pp camlp4o -I ../gTopLevel -thread
 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
 
 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
 
-LIBRARIES =    ../gTopLevel/mQueryGenerator.cmo
-LIBRARIES_OPT =        ../gTopLevel/mQueryGenerator.cmx
+GTOPLEVEL_MODULES = mQueryLevels mQueryGenerator
+LIBRARIES =    $(patsubst %,../gTopLevel/%.cmo,$(GTOPLEVEL_MODULES))
+LIBRARIES_OPT =        $(patsubst %,../gTopLevel/%.cmx,$(GTOPLEVEL_MODULES))
 
 all: searchEngine
 opt: searchEngine.opt
 
 all: searchEngine
 opt: searchEngine.opt