table_creator table_creator.opt table_destructor table_destructor.opt
all: table_creator table_destructor
+ @echo -n
opt: table_creator.opt table_destructor.opt
+ @echo -n
table_creator: table_creator.ml ../metadata.cma
- $(OCAMLFIND) ocamlc \
+ @echo " OCAMLC $<"
+ @$(OCAMLFIND) ocamlc \
-thread -package mysql,helm-metadata -linkpkg -o $@ $<
table_destructor: table_creator
- ln -f $< $@
+ @ln -f $< $@
table_creator.opt: table_creator.ml ../metadata.cmxa
- $(OCAMLFIND) ocamlopt \
+ @echo " OCAMLOPT $<"
+ @$(OCAMLFIND) ocamlopt \
-thread -package mysql,helm-metadata -linkpkg -o $@ $<
table_destructor.opt: table_creator.opt
- ln -f $< $@
+ @ln -f $< $@
clean:
rm -f *.cm[iox] *.a *.o