Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Announcing the OMake build system version 0.9.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-05 (16:12)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Announcing the OMake build system version 0.9.1
On Mon, 2004-09-06 at 01:01, Marcin 'Qrczak' Kowalczyk wrote:
> "chris.danx" <> writes:
> >> Rebuild what? Everything? It's not an option. When I repeatedly make
> >> a change in one file and try how it works, it would be silly to wait
> >> several minutes for recompilation of everything else.
> >
> > Only what needs to be rebuilt!
> But how does it know it? How to specify that in a different way than
> for make?

I could suggest some, but first: you could use the same
way as for make.

However your dependency specification is treated like
an optimisation. So if you say:

	A depends on B

it means 'A depends on B and some other things' rather than
'A depends only on B'.

This allows you to take a random ordering and adjust it
so B comes before A. The more hints you give,
the more efficient the build. But it will (usually)
converge (or fail to converge) independently of the

Obviously one would like something less brain dead
than specifying dependencies file by file -- like

	*.c -> *.o

in make. Or perhaps 'ocamldep' for Ocaml :)

John Skaller,
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: