X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmetadata%2Fextractor%2FMakefile;h=e58064b4159f322148772bf8e62f77300d48b9c4;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=1275aaab8723d10aef6089f4fae79fc673f82e05;hpb=53a481cfc7546504db6005b6f29fe30c3d9eabc7;p=helm.git diff --git a/helm/ocaml/metadata/extractor/Makefile b/helm/ocaml/metadata/extractor/Makefile index 1275aaab8..e58064b41 100644 --- a/helm/ocaml/metadata/extractor/Makefile +++ b/helm/ocaml/metadata/extractor/Makefile @@ -1,13 +1,10 @@ -REQUIRES = mysql helm-metadata +OCAMLFIND=ocamlfind -INTERFACE_FILES = -IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) -EXTRA_OBJECTS_TO_INSTALL = -EXTRA_OBJECTS_TO_CLEAN = \ - extractor extractor.opt +all: extractor extractor_manager +opt: extractor.opt extractor_manager.opt -all: extractor -opt: extractor.opt +clean: + rm -f *.cm[ixo] *.[ao] extractor extractor.opt *.err *.out extractor_manager extractor_manager.opt extractor: extractor.ml $(OCAMLFIND) ocamlc \ @@ -17,5 +14,17 @@ extractor.opt: extractor.ml $(OCAMLFIND) ocamlopt \ -thread -package mysql,helm-metadata -linkpkg -o $@ $< -include ../../Makefile.common +extractor_manager: extractor_manager.ml + $(OCAMLFIND) ocamlc \ + -thread -package mysql,helm-metadata -linkpkg -o $@ $< + +extractor_manager.opt: extractor_manager.ml + $(OCAMLFIND) ocamlopt \ + -thread -package mysql,helm-metadata -linkpkg -o $@ $< + +export: extractor.opt extractor_manager.opt + nice -n 20 \ + time \ + ./extractor_manager.opt 1>export.out 2>export.err + include .depend