[Omake] A question about the OCamlPackage function and its use...
Nicholas Kidd
kidd at cs.wisc.edu
Wed Jan 31 07:19:53 PST 2007
Hi,
I am not sure about creating the packed libraries, but the following
should fix the "roll-back" problem:
Francisco Jos? Valverde Albacete wrote:
ROLLBACK = $(OCAMLFLAGS)
> public.OCAMLFLAGS =
> OCAMLFLAGS += -for-pack <pacakge>
> export
(* comile and pack your library *)
OCAMLFLAGS = $(ROLLBACK)
It is probably not the cleanest way to achieve your goal but it works
for me. I had to do something similiar to pass extra flags to the menhir
parser because OMake did not have the functionality I needed.
Good luck,
-Nick
More information about the Omake
mailing list