Browse thread
[Caml-list] Intelligent handling of dependencies in complex ocaml projects
-
Cezary Kaliszyk
- David MENTRE
-
Richard Jones
-
Kenneth Knowles
- David MENTRE
-
Kenneth Knowles
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David MENTRE <dmentre@l...> |
| Subject: | Re: [Caml-list] Intelligent handling of dependencies in complex ocaml projects |
Kenneth Knowles <kknowles@berkeley.edu> writes: > I was thinking the same thing. > http://www.canb.auug.org.au/~millerp/rmch/recu-make-cons-harm.html > > 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. Yours, d. -- David Mentré <dmentre@linux-france.org> ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners