]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/extractor/Makefile
Added a new section on automation
[helm.git] / helm / ocaml / metadata / extractor / Makefile
index 0eccebee4f825df96ce06e71d49049de4e6f5649..7c2aec0e555e316822d111bf4f3d93cf0a669ff7 100644 (file)
@@ -1,28 +1,31 @@
-REQUIRES = mysql helm-metadata
-
-INTERFACE_FILES = 
-IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) 
-EXTRA_OBJECTS_TO_INSTALL =
-EXTRA_OBJECTS_TO_CLEAN = \
-       extractor extractor.opt *.err *.out extractor_manager extractor_manager.opt
+OCAMLFIND=ocamlfind
 
 all: extractor extractor_manager 
+       @echo -n
 opt: extractor.opt extractor_manager.opt
+       @echo -n
+
+clean:
+       rm -f *.cm[ixo] *.[ao] extractor extractor.opt *.err *.out extractor_manager extractor_manager.opt
 
 extractor: extractor.ml
-       $(OCAMLFIND) ocamlc \
+       @echo "    OCAMLC $<"
+       @$(OCAMLFIND) ocamlc \
                -thread -package mysql,helm-metadata -linkpkg -o $@ $<
 
 extractor.opt: extractor.ml
-       $(OCAMLFIND) ocamlopt \
+       @echo "    OCAMLOPT $<"
+       @$(OCAMLFIND) ocamlopt \
                -thread -package mysql,helm-metadata -linkpkg -o $@ $<
 
 extractor_manager: extractor_manager.ml
-       $(OCAMLFIND) ocamlc \
+       @echo "    OCAMLC $<"
+       @$(OCAMLFIND) ocamlc \
                -thread -package mysql,helm-metadata -linkpkg -o $@ $<
 
 extractor_manager.opt: extractor_manager.ml
-       $(OCAMLFIND) ocamlopt \
+       @echo "    OCAMLOPT $<"
+       @$(OCAMLFIND) ocamlopt \
                -thread -package mysql,helm-metadata -linkpkg -o $@ $<
 
 export: extractor.opt extractor_manager.opt
@@ -30,6 +33,4 @@ export: extractor.opt extractor_manager.opt
                time \
                ./extractor_manager.opt 1>export.out 2>export.err
        
-
-include ../../Makefile.common
 include .depend