1 REQUIRES = http helm-grafite_parser helm-logger helm-tactics helm-cic_disambiguation
2 OCAMLOPTIONS = -thread -package "$(REQUIRES)" -pp camlp4o
3 OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind
4 OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS)
5 OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
6 OCAMLDEP = $(OCAMLFIND) ocamldep -package "$(REQUIRES)" -pp camlp4o
9 SRCS = $(patsubst %,%.ml,$(MODULES)) $(patsubst %,%.mli,$(MODULES)) \
11 CMOS = $(patsubst %,%.cmo,$(MODULES))
12 CMXS = $(patsubst %,%.cmx,$(MODULES))
17 opt: searchEngine.opt html
30 searchEngine: $(CMOS) searchEngine.ml
31 $(OCAMLC) -linkpkg -o $@ $^
32 searchEngine.opt: $(CMXS) searchEngine.ml
33 $(OCAMLOPT) -linkpkg -o $@ $^
37 rm -f *.cm[aiox] *.o searchEngine{,.opt}
41 $(OCAMLDEP) $(SRCS) > .depend