]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/metadata/extractor/Makefile
ocaml 3.09 transition
[helm.git] / helm / ocaml / metadata / extractor / Makefile
1 OCAMLFIND=ocamlfind
2
3 all: extractor extractor_manager 
4 opt: extractor.opt extractor_manager.opt
5
6 clean:
7         rm -f *.cm[ixo] *.[ao] extractor extractor.opt *.err *.out extractor_manager extractor_manager.opt
8
9 extractor: extractor.ml
10         $(OCAMLFIND) ocamlc \
11                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
12
13 extractor.opt: extractor.ml
14         $(OCAMLFIND) ocamlopt \
15                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
16
17 extractor_manager: extractor_manager.ml
18         $(OCAMLFIND) ocamlc \
19                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
20
21 extractor_manager.opt: extractor_manager.ml
22         $(OCAMLFIND) ocamlopt \
23                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
24
25 export: extractor.opt extractor_manager.opt
26          nice -n 20 \
27                 time \
28                 ./extractor_manager.opt 1>export.out 2>export.err
29         
30 include .depend