1 REQUIRES = mysql helm-metadata
4 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
5 EXTRA_OBJECTS_TO_INSTALL =
6 EXTRA_OBJECTS_TO_CLEAN = \
7 table_creator table_creator.opt table_destructor table_destructor.opt
9 all: table_creator table_destructor
11 opt: table_creator.opt table_destructor.opt
14 table_creator: table_creator.ml ../metadata.cma
16 @$(OCAMLFIND) ocamlc \
17 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
19 table_destructor: table_creator
22 table_creator.opt: table_creator.ml ../metadata.cmxa
24 @$(OCAMLFIND) ocamlopt \
25 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
27 table_destructor.opt: table_creator.opt
31 rm -f *.cm[iox] *.a *.o
32 rm -f table_creator table_creator.opt table_destructor table_destructor.opt
35 include ../../../Makefile.defs