This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
B20.1: VPATH in makefiles fails timestamp comparison for generic rules
- To: cygwin at sourceware dot cygnus dot com
- Subject: B20.1: VPATH in makefiles fails timestamp comparison for generic rules
- From: Ben Groeneveld <BenG at WorkTechnologies dot com>
- Date: Tue, 15 Feb 2000 09:53:38 -0700
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@WorkTechnologies.com, phone:208.529.2640, fax:208.522.4202
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com