X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Focaml%2Fmetadata%2Ftable_creator%2FMakefile;h=c54e52d4ac13ece7d3f4f18212f662af95389a0f;hb=771ee8b9d122fa963881c876e86f90531bb7434f;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..c54e52d4a 100644 --- a/helm/ocaml/metadata/table_creator/Makefile +++ b/helm/ocaml/metadata/table_creator/Makefile @@ -7,21 +7,29 @@ EXTRA_OBJECTS_TO_CLEAN = \ table_creator table_creator.opt table_destructor table_destructor.opt all: table_creator table_destructor + @echo -n opt: table_creator.opt table_destructor.opt + @echo -n -table_creator: table_creator.ml - $(OCAMLFIND) ocamlc \ +table_creator: table_creator.ml ../metadata.cma + @echo " OCAMLC $<" + @$(OCAMLFIND) ocamlc \ -thread -package mysql,helm-metadata -linkpkg -o $@ $< table_destructor: table_creator - ln -f $< $@ + @ln -f $< $@ -table_creator.opt: table_creator.ml - $(OCAMLFIND) ocamlopt \ +table_creator.opt: table_creator.ml ../metadata.cmxa + @echo " OCAMLOPT $<" + @$(OCAMLFIND) ocamlopt \ -thread -package mysql,helm-metadata -linkpkg -o $@ $< table_destructor.opt: table_creator.opt - ln -f $< $@ - -include ../../Makefile.common + @ln -f $< $@ + +clean: + rm -f *.cm[iox] *.a *.o + rm -f table_creator table_creator.opt table_destructor table_destructor.opt + include .depend +include ../../../Makefile.defs