were splitted away from ../gTopLevel/mQueryGenerator.cm{o,x}
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