[Omake] Dependencies on .o/.obj for OCaml modules

Aleksey Nogin nogin at metaprl.org
Sun Jan 27 09:11:47 PST 2008


On 27.01.2008 08:25, Alain Frisch wrote:

> It seems that the standard rules for OCaml included in omake create a
> dependency from b.cmx to a.$(EXT_OBJ) when b depends on a. Why is it so?

This should not be the case. The .a for a library and the executable
should depend on the .o, but not the .cmx. If this is not the case, then
something is wrong.

> PS: this is even more problematic under Windows, because the .obj files
> produced by the assembler (and thus ocamlopt) contain a time-stamp.

This is unfortunate. Is there any command line options that would
prevent this, or is the patching of the .obj as you suggested the only way?

Aleksey
-- 


More information about the Omake mailing list