[Omake] menhir --infer + ocamldep -natives
Michael Furr
furr at cs.umd.edu
Mon May 28 11:31:13 PDT 2007
On Thu, 24 May 2007, Michael Furr wrote:
> Upon further playing, it looks like the menhir aspect of this is a red
> herring. I am also loosing dependencies for regular .cm? targets. For
> instance, in one directory, I have two files, main.ml and typing.ml. Main
> depends on Typing and a few other things, but Typing is not built before
> main. Here is what the vanilla ocamldep commands show:
Argh, so it seems the problem was that I had an OMakefile which set
OCAMLINCLUDES = subdir
instead of *updating* it
OCAMLINCLUDES += subdir
and so '-I .' was not included in the command line which lead to the
horrible consequences.
Could you add a warning if OMake is unable to map a dependency from
ocamldep -modules into a build target?
-m
More information about the Omake
mailing list