X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmetadata%2Ftable_creator%2FMakefile;h=cb8ab763672186e6c6097f34d31cfa5f15e53dc3;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=3368e52293ea318438b926063700b5d838c9cae3;hpb=5510cb3ef87e360d71d8b20593c6d3ee50e35d29;p=helm.git diff --git a/helm/ocaml/metadata/table_creator/Makefile b/helm/ocaml/metadata/table_creator/Makefile index 3368e5229..cb8ab7636 100644 --- a/helm/ocaml/metadata/table_creator/Makefile +++ b/helm/ocaml/metadata/table_creator/Makefile @@ -1,4 +1,5 @@ REQUIRES = mysql helm-metadata +OCAMLFIND = ocamlfind INTERFACE_FILES = IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) @@ -9,19 +10,22 @@ EXTRA_OBJECTS_TO_CLEAN = \ all: table_creator table_destructor opt: table_creator.opt table_destructor.opt -table_creator: table_creator.ml +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 +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 $< $@ - -include ../../Makefile.common + +clean: + rm -f *.cm[iox] *.a *.o + rm -f table_creator table_creator.opt table_destructor table_destructor.opt + include .depend