Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Ocamldep too "gentle".
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-12-02 (17:48)
From: Remi Vanicat <remi.vanicat@l...>
Subject: Re: [Caml-list] Ocamldep too "gentle".
David Brown <> writes:

> I'm having a problem with ocamldep being too "gentle".  I have a file
> that is generated with extract_crc.  The problem is that
> ocamldep gets run at the beginning of the make, when doesn't
> yet exist.  ocamldep doesn't output the dependency on units.cmo and
> units.cmx because it can't find the source file.

The solution is to generate before generating the

You could try to look at what the OcamlMakefile do for ocamllex and
ocamlyacc generated ml file.

Rémi Vanicat

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: