help-make
[Top][All Lists]
Advanced

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

Re: Testing rule success


From: David A. Greene
Subject: Re: Testing rule success
Date: Tue, 31 Jul 2007 10:32:16 -0500
User-agent: KMail/1.9.1

On Monday 30 July 2007 21:18, David A. Greene wrote:
> On Monday 30 July 2007 17:39, Paul Smith wrote:
> > There is no other way to do it than wildcard.  As long as you're testing
> > for the existence of a TARGET file (that is declared a target in the
> > makefile and only updated through the auspices of a make rule with that
> > file as a target) then wildcard should always be accurate.  If it's not,
> > that's a bug.
>
> Ok, thanks for the lesson.  This particular file wasn't a target, but was
> created as part of the commands for a target.

Actually, I have another situation where the $(wildcard)ed file is indeed
the target of another rule and it doesn't work.  So it definitely seems like
there's a bug.  It's a rather complicated setup so I'll see if I can reduce 
it.

                                          -Dave




reply via email to

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