On Wed, Jun 22, 2011 at 7:52 PM, Mike Frysinger <[email protected]> wrote:
> On Wednesday, June 22, 2011 19:44:53 Mike Frysinger wrote:
>> On Wednesday, June 22, 2011 15:36:17 Jie Zhang wrote:
>> > It seems that yours depends on this observation: Automake does not
>> > substitute the variable in target when processing the user defined rule.
>>
>> pretty much.  it goes even further though in that the variable i'm using is
>> generated by automake itself, so it'd be a matter of recursion for it to
>> figure things out.
>>
>> thus with my patch, automake will continue to take care of spitting out the
>> default rules and make will parse it as a simple dependency.
>
> actually, now that i think about it a bit more, the current code using
> $(OBJEXT) is taking advantage of this exact same feature.  automake could not
> parse that foo.$(OBJEXT) was the same thing as foo.o/foo.lo, so it ignored it
> and generated standard rules.  make then treated it as just a dependency rule,
> and everything worked out fine.
>
Exactly.

Jie

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to