]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/Makefile
added new extractor based on MetadataDb.index_obj
[helm.git] / helm / ocaml / metadata / Makefile
index 52fe27edd79b0e40ebab812bcf6b31c4723237f8..afacda168711889ade0709827818386069a680d0 100644 (file)
@@ -15,23 +15,24 @@ EXTRA_OBJECTS_TO_CLEAN =
 
 include ../Makefile.common
 
-all: all_table_creator
-opt: opt_table_creator
+all: all_table_creator all_extractor
+opt: opt_table_creator opt_extractor
 
 all_table_creator:
        make -C table_creator/ all
 opt_table_creator:
        make -C table_creator/ opt
 
-clean: clean_table_creator
+all_extractor:
+       make -C extractor/ all
+opt_extractor:
+       make -C extractor/ opt
+
+clean: clean_table_creator clean_extractor
 
 clean_table_creator:
        make -C table_creator/ clean
        
-test: test.ml $(PACKAGE).cma
-       $(OCAMLFIND) ocamlc -thread -package mysql,helm-metadata -linkpkg -o $@ $<
-test.opt: test.ml $(PACKAGE).cmxa
-       $(OCAMLFIND) opt -thread -package mysql,helm-metadata -linkpkg -o $@ $<
-test_query: test_query.ml $(PACKAGE).cma
-       $(OCAMLFIND) ocamlc -thread -package mysql,helm-metadata -linkpkg -o $@ $<
-
+clean_extractor:
+       make -C extractor/ clean
+