public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* B20.1: VPATH in makefiles fails timestamp comparison for generic rules
@ 2000-02-15  8:45 Ben Groeneveld
  0 siblings, 0 replies; only message in thread
From: Ben Groeneveld @ 2000-02-15  8:45 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-15  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-15  8:45 B20.1: VPATH in makefiles fails timestamp comparison for generic rules Ben Groeneveld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).