1 REQUIRES = http dbi.mysql helm-cic_textual_parser2 helm-logger helm-tactics
2 OCAMLOPTIONS = -thread -package "$(REQUIRES)" -pp camlp4o
3 OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
4 OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
5 OCAMLDEP = ocamlfind ocamldep -package "$(REQUIRES)" -pp camlp4o
8 SRCS = $(patsubst %,%.ml,$(MODULES)) $(patsubst %,%.mli,$(MODULES)) \
10 CMOS = $(patsubst %,%.cmo,$(MODULES))
11 CMXS = $(patsubst %,%.cmx,$(MODULES))
25 searchEngine: $(CMOS) searchEngine.ml
26 $(OCAMLC) -linkpkg -o $@ $^
27 searchEngine.opt: $(CMXS) searchEngine.ml
28 $(OCAMLOPT) -linkpkg -o $@ $^
31 rm -f *.cm[aiox] *.o searchEngine{,.opt}
35 $(OCAMLDEP) $(SRCS) > .depend