]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/metadata/table_creator/Makefile
removed no longer used METAs
[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         @echo -n
11 opt: table_creator.opt table_destructor.opt
12         @echo -n
13
14 table_creator: table_creator.ml ../metadata.cma
15         @echo "    OCAMLC $<"
16         @$(OCAMLFIND) ocamlc \
17                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
18
19 table_destructor: table_creator
20         @ln -f $< $@
21
22 table_creator.opt: table_creator.ml ../metadata.cmxa
23         @echo "    OCAMLOPT $<"
24         @$(OCAMLFIND) ocamlopt \
25                 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
26
27 table_destructor.opt: table_creator.opt
28         @ln  -f $< $@
29
30 clean:
31         rm -f *.cm[iox] *.a *.o
32         rm -f table_creator table_creator.opt table_destructor table_destructor.opt
33
34 include .depend
35 include ../../../Makefile.defs