Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Proposed syntax for coincidental rules (was: Re: GNU make source code: msg#00000

Subject: Proposed syntax for coincidental rules (was: Re: GNU make source code
Paul D. Smith wrote:
[...]
Anyway, a critical feature of GNU make is that it's conformant to the
POSIX standard for make.  Any new feature which broke that compatibility
would need to be considered very critically before being accepted.

Oh well, I'm not going to pay $900+ to look at POSIX specs.
However, the SUS is readable for free at the opengroup.org's.
From their prototypical man page for make it is fairly clear
that Henning Makholm's proposed syntax was not coherent. See
"Proposed syntax for static make-also rule"
http://lists.gnu.org/archive/html/make-alpha/2002-12/msg00000.html

SUSly, It looks it should be something like

.COINCIDENTAL: target1 target2 target3
target1 target2 target3: something
        cat something | tee target1 | tee target2 > target3

Would that work? Is that coherent?


<Prev in Thread] Current Thread [Next in Thread>