[m-dev.] Problematic Mmake dependencies

Warwick Harvey wharvey at cs.monash.edu.au
Mon Jul 5 16:49:38 AEST 1999


I wrote:
> The *only* reason this (and similar) dependencies are difficult to implement 
> is because you cannot refer to variables set by the user in the Mmakefile in 
> the dependencies generated in a .dep file.  [...]
> 
> [...]  This would appear to make quite a few headaches disappear.

Of course, it leaves a few big ones lying around.  GNU Make, in its infinite 
wisdom, does not define the variable `$@' in the dependency list of a rule 
--- only in the body.  So this still isn't going to interact gracefully with 
per-program/file variable definitions, but maybe that can be hacked around.

Sigh.

Warwick

--------------------------------------------------------------------------
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