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