Re: Static multiple target rules

2010-03-31 Thread tom honermann
On 3/30/2010 2:14 AM, Edward Welbourne wrote: y.tab.h y.tab.c y.output: yacc.ts I don't actually see that y.output serves any role in this; simply remove every reference to it and your example should be clearer. It actually does serve a roll for testing purposes. Try the following

Re: Static multiple target rules

2010-03-31 Thread tom honermann
On 3/29/2010 8:20 PM, Philip Guenther wrote: Hmm. SysV make has offered the desired feature with the syntax b1 + b2 + b3: d1 touch -r $^ $@ Ah, thank you! I wasn't aware of a precedent syntax for this feature. I definitely agree with using this syntax over what I proposed for

Re: Static multiple target rules

2010-03-31 Thread tom honermann
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,

Re: Static multiple target rules

2010-03-31 Thread tom honermann
On 3/31/2010 1:01 AM, tom honermann wrote: 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

Re: Static multiple target rules

2010-03-31 Thread tom honermann
On 3/30/2010 11:35 PM, tom honermann wrote: On 3/29/2010 8:20 PM, Philip Guenther wrote: Hmm. SysV make has offered the desired feature with the syntax b1 + b2 + b3: d1 touch -r $^ $@ Ah, thank you! I wasn't aware of a precedent syntax for this feature. I definitely agree with

[bug #29244] MSVC Compatibility broken with main.c Revision 1.237 (with Proposal for Fix)

2010-03-31 Thread anonymous
Follow-up Comment #3, bug #29244 (project make): Hm, define_variable_cname() looks like a macro to me. At least variable.h contians in line 185: #define define_variable_cname(n,v,o,r) That given the code below from main.c resembles a macro exapansion quite closely, doesn't it?