2 all: extractor extractor_manager
4 opt: extractor.opt extractor_manager.opt
8 rm -f *.cm[ixo] *.[ao] extractor extractor.opt *.err *.out extractor_manager extractor_manager.opt
10 extractor: extractor.ml
12 @$(OCAMLFIND) ocamlc \
13 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
15 extractor.opt: extractor.ml
17 @$(OCAMLFIND) ocamlopt \
18 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
20 extractor_manager: extractor_manager.ml
22 @$(OCAMLFIND) ocamlc \
23 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
25 extractor_manager.opt: extractor_manager.ml
27 @$(OCAMLFIND) ocamlopt \
28 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
30 export: extractor.opt extractor_manager.opt
33 ./extractor_manager.opt 1>export.out 2>export.err
36 include ../../../Makefile.defs