1 REQUIRES = http helm-cic_textual_parser helm-cic_proof_checking \
2 helm-xml gdome2-xslt helm-cic_unification helm-mathql \
3 helm-mathql_interpreter
4 OCAMLOPTIONS = -package "$(REQUIRES)" -pp camlp4o -I ../gTopLevel -thread
5 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
6 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
8 LIBRARIES = ../gTopLevel/mQueryGenerator.cmo
9 LIBRARIES_OPT = ../gTopLevel/mQueryGenerator.cmx
14 searchEngine: $(LIBRARIES) searchEngine.ml
15 $(OCAMLC) -linkpkg -o $@ $^
16 searchEngine.opt: $(LIBRARIES_OPT) searchEngine.ml
17 $(OCAMLOPT) -linkpkg -o $@ $^
20 rm -f *.cm[aiox] *.o searchEngine{,.opt}