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] Intelligent handling of dependencies in complex ocaml projects
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-15 (07:46)
From: David MENTRE <dmentre@l...>
Subject: Re: [Caml-list] Intelligent handling of dependencies in complex ocaml projects
Kenneth Knowles <> writes:

> I was thinking the same thing.
> On Wed, Apr 14, 2004 at 04:18:53PM +0100, Richard Jones wrote:
>> Have you considered using a single non-recursive Makefile?  Then you
>> can use ocamldep and a single .depend file to store the built
>> dependencies, and you can also be sure that your builds will be
>> correct.

Richard and Kenneth, are you refering to my post or Cezary's one?

In my specific case, I completely agree with Miller's point of view. The
only issue is that I'm using ocamldep to compile Gerd's ocamlrpcgen to
generate new ocaml source files to then reuse ocamldep to finally
compile my program. I cannot do that without two successive make
includes. That's said (1) I would much prefer a simpler solution and (2)
my Makefile is still a monolithic Makefile as per Miller suggestion.

Now, regarding Cezary issues, I though his main issue was that ocamldep
options where incompatible for different sub-directories. But maybe
ocamldep does not need that much options.

 David Mentré <>

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