[Omake] Interfacing with C code
Kaspar Rohrer
kaspar.rohrer at bluewin.ch
Sun Feb 3 12:09:38 PST 2008
> Date: Sun, 3 Feb 2008 07:47:31 -0500
> From: Luis O'Shea <loshea at gmail.com>
> Subject: Re: [Omake] Interfacing with C code
>
> Thank you. That works.
>
> Before the StaticCLibrary one needs to append the path to caml
> headers to the INCLUDES variable. Is there any other way to find
> this path other than to parse it out of "ocamlc -v"?
>
> Thanks again.
Try "ocamlc -where" instead. I've got something like
INCLUDES += $(shell $(OCAMLC) -where)
in my OMakefile, which seems to work.
HTH
Kaspar Rohrer
More information about the Omake
mailing list