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 KAA29836; Mon, 19 May 2003 10:13:10 +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 KAA29582 for ; Mon, 19 May 2003 10:13:09 +0200 (MET DST) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h4J8D8H12638 for ; Mon, 19 May 2003 10:13:08 +0200 (MET DST) Received: from fichte.ai.univie.ac.at (markus@localhost.ai.univie.ac.at [127.0.0.1]) by fichte.ai.univie.ac.at (8.12.3/8.12.3/Debian-6.3) with ESMTP id h4J8D7wf013995; Mon, 19 May 2003 10:13:07 +0200 Received: (from markus@localhost) by fichte.ai.univie.ac.at (8.12.3/8.12.3/Debian-6.3) id h4J8D78b013994; Mon, 19 May 2003 10:13:07 +0200 Date: Mon, 19 May 2003 10:13:07 +0200 From: Markus Mottl To: Ed L Cashin Cc: caml-list@inria.fr Subject: Re: [Caml-list] ocaml and large development projects Message-ID: <20030519081307.GA13801@fichte.ai.univie.ac.at> Mail-Followup-To: Ed L Cashin , caml-list@inria.fr References: <200305181113.HAA11919@nerd-xing.mit.edu> <87wugoqjul.fsf@cs.uga.edu> <87wugom5s6.fsf@cs.uga.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wugom5s6.fsf@cs.uga.edu> User-Agent: Mutt/1.4.1i X-Spam: no; 0.00; caml-list:01 ocamlc:01 ocamlopt:01 univie:01 well-suited:01 ocaml:01 byte:01 makefile:02 mottl:02 native:02 complex:03 wrote:03 markus:04 compilation:04 installed:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, 18 May 2003, Ed L Cashin wrote: > It never occurred to me that I'd have to create a more complex makefile > just to get real separate compilation during development by using > ocamlc, doing ocamlopt only at the end. OCamlMakefile does that for you: http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html#OCamlMakefile A "make bc" (or simply: "make") will build byte code, a "make nc" will build native code for the sources you specify. In each case "make" will only build what is still missing. OCamlMakefile should scale up fairly well for medium-sized OCaml-projects. The limitations / problems that appear with larger projects are mostly related to general issues concerning "make", which isn't a particularly well-suited tool for this purpose, but the only one which is reliably installed on most development platforms. Regards, Markus Mottl -- Markus Mottl http://www.oefai.at/~markus markus@oefai.at ------------------- 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