]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/metadata/table_creator/Makefile
added DROP statements to sqlStatements
[helm.git] / helm / ocaml / metadata / table_creator / Makefile
1 REQUIRES = mysql helm-metadata
2
3 INTERFACE_FILES = 
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
8
9 all: table_creator table_destructor
10 opt: table_creator.opt table_destructor.opt
11
12 table_creator: table_creator.ml
13         $(OCAMLFIND) ocamlc \
14                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
15
16 table_destructor: table_creator
17         ln -f $< $@
18
19 table_creator.opt: table_creator.ml
20         $(OCAMLFIND) ocamlopt \
21                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
22
23 table_destructor.opt: table_creator.opt
24         ln  -f $< $@
25                 
26 include ../../Makefile.common
27 include .depend