caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin Jambon <martin1977@laposte.net>
To: Renald Buter <buter@cwts.leidenuniv.nl>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Building projects written in OCaml
Date: Wed, 23 Aug 2006 12:01:25 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0608231200120.15361@localhost> (raw)
In-Reply-To: <20060823152412.GA7453@infinite.fsw.leidenuniv.nl>

On Wed, 23 Aug 2006, Renald Buter wrote:

> Hello list,
>
> Coming from an Ant/Java world, I am usually working in projects that have the
> following directory structure:
>
>  project
>       |---src  ("plain" source files)
>       |---test (unit testing)
>
> What would a Makefile (possibly using OCamlMakefile) or OMakefile look
> like that would allow me to:
>
>  1. 'make XXX.ml' to compile XXX.ml into an object file
>  2. 'make some-target' to build the executable some-target, depending on
>     given object files
>  3. 'make test' to build the test suite, depending on object files in
>     the 'src' directory.
>
> Any help is much appreciated!

You can start there:
  http://www.ocaml-tutorial.org/compiling_ocaml_projects


Martin

--
Martin Jambon, PhD
http://martin.jambon.free.fr


  reply	other threads:[~2006-08-23 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 15:24 Renald Buter
2006-08-23 19:01 ` Martin Jambon [this message]
2006-08-23 20:07 ` [Caml-list] " Nathaniel Gray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0608231200120.15361@localhost \
    --to=martin1977@laposte.net \
    --cc=buter@cwts.leidenuniv.nl \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).