[jamming] Spurious warning in 2.5?

Anthony Heading aheading at jpmorgan.com
Mon Feb 24 23:45:02 PST 2003


On Sat, Feb 22, 2003 at 10:00:31AM +1100, Russell Shaw wrote:
> 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 ;
> 

So it does! Nice to get rid of a line - it's a little
cleaner then.  But it gives the same warning. As I think
one would expect: the explicit INCLUDES was just a
duplicate.

Rgds

Anthony


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.




More information about the jamming mailing list