[
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: | Martin Jambon <martin1977@l...> |
| Subject: | Re: [Caml-list] Building projects written in OCaml |
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