1 REQUIRES = http helm-grafite_parser helm-logger helm-tactics helm-cic_disambiguation
2 OCAMLOPTIONS = -thread -package "$(REQUIRES)" -pp camlp4o
3 ifeq ($(origin OCAMLPATH), undefined)
4 OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind
8 OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS)
9 OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
10 OCAMLDEP = $(OCAMLFIND) ocamldep -package "$(REQUIRES)" -pp camlp4o
13 SRCS = $(patsubst %,%.ml,$(MODULES)) $(patsubst %,%.mli,$(MODULES)) \
15 CMOS = $(patsubst %,%.cmo,$(MODULES))
16 CMXS = $(patsubst %,%.cmx,$(MODULES))
21 opt: searchEngine.opt html
34 searchEngine: $(CMOS) searchEngine.ml
35 $(OCAMLC) -linkpkg -o $@ $^
36 searchEngine.opt: $(CMXS) searchEngine.ml
37 $(OCAMLOPT) -linkpkg -o $@ $^
41 rm -f *.cm[aiox] *.o searchEngine{,.opt}
45 $(OCAMLDEP) $(SRCS) > .depend