[m-dev.] Infix syntax proposal

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Aug 17 09:15:43 AEST 2002


On 17-Aug-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> On 14-Aug-2002, Douglas Michael Auclair <dauclair at hotmail.com> wrote:
> > BTW, I've spotted a couple of missing dependencies in Mmake.rules:
> > 
> > %.depend:  % should depend on %.m
> > and
> > %.dep %.dv:  % also should depend on %.m
> 
> The problem here is that %.depend doesn't just depend on %.m,
> it depends on all the source files which are reachable from %.m,
> which Mmake can't know before it has generated the dependencies.

Right.  Also, for %.dep and %.dv, we don't want to remaking them
every time the main source file changes, because computing the
dependencies can take a long time and usually most changes to
the main source file don't change the dependencies.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list