On Wed, Sep 30, 2009 at 2:05 AM, Aditya Kher <[email protected]> wrote:
> I would like to re-evaluate or rather re-calculate variable value during
> making of target

What problem are you trying to solve?  That is, *why* do you want to do that?

If you're trying to do something that isn't driven by comparing
timestamps on files but rather is simply an iterative process, then a
simple shell script may be a simpler  and less confusing solution.


> %.txt:
>        touch ${RUN_COUNT}.txt

This rule is wrong: "To update *any* file ending in ".txt", touch the
file ${RUN_COUNT}.txt."  So if RUN_COUNT=1, then if you want to update
foo.txt, touch 1.txt.  If you want to update sldfjsldkf.txt, touch
1.txt.  How can that work?


Philip Guenther


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to