1 REQUIRES = http 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))
16 opt: searchEngine.opt html
29 searchEngine: $(CMOS) searchEngine.ml
30 $(OCAMLC) -linkpkg -o $@ $^
31 searchEngine.opt: $(CMXS) searchEngine.ml
32 $(OCAMLOPT) -linkpkg -o $@ $^
36 rm -f *.cm[aiox] *.o searchEngine{,.opt}
40 $(OCAMLDEP) $(SRCS) > .depend