bin/41908: make: $? not always set

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Wed Feb 18 01:20:29 PST 2004


The following reply was made to PR bin/41908; it has been noted by GNATS.

From: Volker Stolz <stolz at i2.informatik.rwth-aachen.de>
To: freebsd-gnats-submit at FreeBSD.org, cg2v at andrew.cmu.edu
Cc:  
Subject: Re: bin/41908: make: $? not always set
Date: Wed, 18 Feb 2004 10:14:19 +0100

 I think you should use $> (.ALLSRC) instead of $?.
 From make.1:
 
 .OODATE   The list of sources for this target that were deemed
                        out-of-date; also known as `?'.
 
 test.a is not out of date, so it's not in OODATE for test2.a.
 
 Does this look like a good rationale?
 
 Cheers,
   Volker
 -- 
 http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
 rage against the finite state machine 


More information about the freebsd-bugs mailing list