X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmetadata%2Ftable_creator%2FMakefile;fp=helm%2Focaml%2Fmetadata%2Ftable_creator%2FMakefile;h=cb8ab763672186e6c6097f34d31cfa5f15e53dc3;hb=792b5d29ebae8f917043d9dd226692919b5d6ca1;hp=0000000000000000000000000000000000000000;hpb=a14a8c7637fd0b95e9d4deccb20c6abc98e8f953;p=helm.git diff --git a/helm/ocaml/metadata/table_creator/Makefile b/helm/ocaml/metadata/table_creator/Makefile new file mode 100644 index 000000000..cb8ab7636 --- /dev/null +++ b/helm/ocaml/metadata/table_creator/Makefile @@ -0,0 +1,31 @@ +REQUIRES = mysql helm-metadata +OCAMLFIND = ocamlfind + +INTERFACE_FILES = +IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) +EXTRA_OBJECTS_TO_INSTALL = +EXTRA_OBJECTS_TO_CLEAN = \ + table_creator table_creator.opt table_destructor table_destructor.opt + +all: table_creator table_destructor +opt: table_creator.opt table_destructor.opt + +table_creator: table_creator.ml ../metadata.cma + $(OCAMLFIND) ocamlc \ + -thread -package mysql,helm-metadata -linkpkg -o $@ $< + +table_destructor: table_creator + ln -f $< $@ + +table_creator.opt: table_creator.ml ../metadata.cmxa + $(OCAMLFIND) ocamlopt \ + -thread -package mysql,helm-metadata -linkpkg -o $@ $< + +table_destructor.opt: table_creator.opt + ln -f $< $@ + +clean: + rm -f *.cm[iox] *.a *.o + rm -f table_creator table_creator.opt table_destructor table_destructor.opt + +include .depend