On 8/25/07, Chris <syndicate_dragon yahoo.com> wrote:
> but then I get a warning that the files listed in
> $(GENSRC) depend on themselves. How can I write the
> rule such that it will run the PreParse rule/action
> when the source files in the $(SRCDIR) are newer than
> in the $(PARSEDDIR)?
PreParse $(GENSRC) : $(GENSRC) ;
You've called this rule with two lists, then inside you
depend one
list on the other. For each element of the first list, it
depends on
both elements of the second list. This is the reason I use a
loop to
call GenFile on one file at a time. Also, see the
<parsed> prefix I
use in my previous message to tell jam about the *different*
targets
but with the same name.
Craig.
_______________________________________________
jamming mailing list - jamming perforce.com
http://maillist.perforce.com/mailman/listinfo/jamming
|