Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <38A98492.73391F93@WorkTechnologies.com> Date: Tue, 15 Feb 2000 09:53:38 -0700 From: Ben Groeneveld X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: B20.1: VPATH in makefiles fails timestamp comparison for generic rules Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Description: with VPATH generic rules are not fired when dependents are newer than targets. Reproduction: To reproduce this bug use the following Makefile: -- VPATH=.. %.target : %.source ; cp $< ../$@ showVPATHbug.target: showVPATHbug.source -- Make the target, then touch the source. Another make fails to update the target. Note that if the generic rule is replaced with the following specific rule, then the bug goes away: -- VPATH=.. showVPATHbug.target: showVPATHbug.source cp $< ../$@ -- I have also noticed that with GPATH the target is always rebuilt. Please let me know if there is a workaround for this. Thanks for the otherwise great CygWin software, -- Ben Groeneveld @Work Technologies, Inc., 775 Lindsay Blvd., Idaho Falls, ID 83402 Mailto:BenG AT WorkTechnologies DOT com, phone:208.529.2640, fax:208.522.4202 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com