7 messages in com.perforce.jamming[jamming] Spurious warning in 2.5?
FromSent OnAttachments
Anthony Heading20 Feb 2003 01:26 
Russell Shaw20 Feb 2003 14:30 
Anthony Heading21 Feb 2003 01:01 
Anthony Heading21 Feb 2003 02:47 
Russell Shaw21 Feb 2003 12:49 
Russell Shaw21 Feb 2003 15:00 
Anthony Heading24 Feb 2003 23:44 
Subject:[jamming] Spurious warning in 2.5?
From:Russell Shaw (rjs@iprimus.com.au)
Date:02/21/2003 03:00:09 PM
List:com.perforce.jamming

Anthony Heading wrote:

On Sat, Feb 22, 2003 at 07:49:54AM +1100, Russell Shaw wrote:

What file includes file.cproto.h? This information might be needed to get the order of updating right.

file.c. Hence the original INCLUDES was pretty much appropriate. And why thus I wasn't sure that the ordering would be right doing something like you suggest...

HdrRule in http://public.perforce.com/public/jam/src/Jambase already does "INCLUDES file.c : file.cproto.h. How about this:

rule CProto { DEPENDS $(<) : $(>) ; }

actions CProto { cproto -o $(<) $(>) }

CProto file.c : file.cproto.h ;

Main file : file.c ;