[jamming] Spurious warning in 2.5?

Russell Shaw rjshaw at iprimus.com.au
Fri Feb 21 15:00:31 PST 2003


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 ;






More information about the jamming mailing list