]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/extractor/Makefile
added new extractor based on MetadataDb.index_obj
[helm.git] / helm / ocaml / metadata / extractor / Makefile
diff --git a/helm/ocaml/metadata/extractor/Makefile b/helm/ocaml/metadata/extractor/Makefile
new file mode 100644 (file)
index 0000000..1275aaa
--- /dev/null
@@ -0,0 +1,21 @@
+REQUIRES = mysql helm-metadata
+
+INTERFACE_FILES = 
+IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) 
+EXTRA_OBJECTS_TO_INSTALL =
+EXTRA_OBJECTS_TO_CLEAN = \
+       extractor extractor.opt 
+
+all: extractor
+opt: extractor.opt
+
+extractor: extractor.ml
+       $(OCAMLFIND) ocamlc \
+               -thread -package mysql,helm-metadata -linkpkg -o $@ $<
+
+extractor.opt: extractor.ml
+       $(OCAMLFIND) ocamlopt \
+               -thread -package mysql,helm-metadata -linkpkg -o $@ $<
+
+include ../../Makefile.common
+include .depend