bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static multiple target rules


From: tom honermann
Subject: Re: Static multiple target rules
Date: Wed, 31 Mar 2010 01:01:29 -0700
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

On 3/30/2010 2:08 AM, Edward Welbourne wrote:
(While I don't think the sysV syntax is *great*, I personally think
it's a better choice than overloading the meaning of parentheses.)
    

+1
It also avoids the problem of having to make sense of nesting, e.g.
  

  
   (b1 (c1 c2)): d1
      
True, but it introduces the problem of making sense of these:
+ b1 + b2 +: d1
b1 + + b2: d1
b1 + b2 b3: d1
Solaris 10 make appears to silently drop dangling and extra '+' connectors - which is convenient
for handling macros that are empty when expanded.  It also appears to silently insert missing
'+' connectors if there are any '+' connectors in the target group.  Thus, I think Solaris make would
treat the following rules as equivalent to the ones above:
+ b1 b2: d1
+ b1 b2 b3: d1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]