[Top][All Lists]

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

[bug #30381] Don't avoid implicit rule recursion quite so soon.

From: Paul D. Smith
Subject: [bug #30381] Don't avoid implicit rule recursion quite so soon.
Date: Wed, 07 Jul 2010 17:13:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

Follow-up Comment #2, bug #30381 (project make):

Actually my example is solved by your suggestion to use a stack of targets. 
However, if you imagine a pattern rule where every iteration of the rule
_grows_, instead of shrinks, then a stack of targets wouldn't help.  What

%.x : %.x.x ; cat $< > $@

In this case every time we iterate we have a new target.

A maximum recursion would solve it.  I'm not sure how difficult it would be
to implement though, and I'm not sure we have a strong use-case for it.  If
you can define the number of iterations then it should be possible to define
targets in your makefile to "fix" the problem... no?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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