From 066a2ddffeec23c04ac0997a7f29d4dd404ee265 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Fri, 13 May 2005 11:07:33 +0000 Subject: [PATCH] fixed --- helm/ocaml/metadata/table_creator/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 -- 2.39.2