From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA04569; Thu, 15 Apr 2004 09:46:40 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA03980 for ; Thu, 15 Apr 2004 09:46:39 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from mwinf0901.wanadoo.fr (smtp9.wanadoo.fr [193.252.22.22]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3F7kcYM020485 for ; Thu, 15 Apr 2004 09:46:38 +0200 Received: from morgana (ARennes-303-1-34-88.w81-250.abo.wanadoo.fr [81.250.16.88]) by mwinf0901.wanadoo.fr (SMTP Server) with ESMTP id 700731800213; Thu, 15 Apr 2004 09:46:37 +0200 (CEST) Received: from david by morgana with local (Exim 4.30) id 1BE1Zz-0000Iy-G6; Thu, 15 Apr 2004 09:46:35 +0200 To: Kenneth Knowles Cc: Richard Jones , caml-list@inria.fr Subject: Re: [Caml-list] Intelligent handling of dependencies in complex ocaml projects References: <20040414123026.GA25996@zodiac.mimuw.edu.pl> <20040414151852.GB16397@redhat.com> <20040414153619.GA23982@tallman.kefka.frap.net> From: David MENTRE Organization: none Date: Thu, 15 Apr 2004 09:46:35 +0200 In-Reply-To: <20040414153619.GA23982@tallman.kefka.frap.net> (Kenneth Knowles's message of "Wed, 14 Apr 2004 08:36:19 -0700") Message-ID: <87oeptr8dg.fsf@linux-france.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 dependencies:01 dmentre:01 knowles:99 2004:99 ocamldep:01 dependencies:01 ocamldep:01 gerd's:01 reuse:01 monolithic:01 miller:99 cezary:01 incompatible:01 dmentre:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 370 Kenneth Knowles 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é ------------------- 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