[Omake] Re: [Caml-list] ocamlbuild is VERY nifty
Aleksey Nogin
nogin at metaprl.org
Fri Mar 16 10:01:53 PDT 2007
Joel,
I think this was already brought up on the Caml list - it is the basic
OCaml assumption, I believe, that you should not have an .mli without
.ml. OMake makes the same assumption. If you do need the Easy module,
you should have easy.ml. If your easy.mli only defines new types and/or
signatures, you should be able to simply rename easy.mli into easy.ml.
Hope this helps.
Aleksey
On 16.03.2007 06:46, Joel Reymont wrote:
> Aleksey,
>
> I'm trying to build my project as you suggested but I get this error
>
> *** omake error:
> File /usr/local/lib/omake/build/OCaml.om: line 1027, characters 8-53
> Do not know how to build "easy.cmo" required for "test.run"
>
> I only have easy.mli and no easy.ml, should I exclude easy from the
> build list below?
>
> Thanks, Joel
>
> On Mar 13, 2007, at 6:38 PM, Aleksey Nogin wrote:
>
>> # Optional - use bytecode compilation even when ocamlopt is available
>> NATIVE_ENABLED = false
>> BYTE_ENABLED = true
>>
>> USE_OCAMLFIND = true
>> OCAMLPACKS[] = ounit
>>
>> .DEFAULT: $(OCamlProgram test, test easy easy_lexer easy_parser
>> parser_util symtab parser_test)
>
> --
> http://wagerlabs.com/
>
>
>
>
>
More information about the Omake
mailing list