1 REQUIRES = mysql helm-metadata
5 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
6 EXTRA_OBJECTS_TO_INSTALL =
7 EXTRA_OBJECTS_TO_CLEAN = \
8 table_creator table_creator.opt table_destructor table_destructor.opt
10 all: table_creator table_destructor
12 opt: table_creator.opt table_destructor.opt
15 table_creator: table_creator.ml ../metadata.cma
17 @$(OCAMLFIND) ocamlc \
18 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
20 table_destructor: table_creator
23 table_creator.opt: table_creator.ml ../metadata.cmxa
25 @$(OCAMLFIND) ocamlopt \
26 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
28 table_destructor.opt: table_creator.opt
32 rm -f *.cm[iox] *.a *.o
33 rm -f table_creator table_creator.opt table_destructor table_destructor.opt