]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/table_creator/Makefile
added table_creator (comman line frontend to SqlStatements)
[helm.git] / helm / ocaml / metadata / table_creator / Makefile
diff --git a/helm/ocaml/metadata/table_creator/Makefile b/helm/ocaml/metadata/table_creator/Makefile
new file mode 100644 (file)
index 0000000..8b08e6d
--- /dev/null
@@ -0,0 +1,20 @@
+REQUIRES = mysql helm-metadata
+
+INTERFACE_FILES = 
+IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) 
+EXTRA_OBJECTS_TO_INSTALL =
+EXTRA_OBJECTS_TO_CLEAN =table_creator table_creator.opt
+
+all: table_creator
+opt: table_creator.opt
+
+table_creator: table_creator.ml
+       $(OCAMLFIND) ocamlc \
+               -thread -package mysql,helm-metadata -linkpkg -o $@ $<
+
+table_creator.opt: table_creator.ml
+       $(OCAMLFIND) ocamlopt \
+               -thread -package mysql,helm-metadata -linkpkg -o $@ $<
+               
+include ../../Makefile.common
+include .depend