Article View: gnu.utils.bug
Article #497Bug in Make 3.54
From: Rick Simkin
Date: Fri, 13 Oct 1989 20:42
Date: Fri, 13 Oct 1989 20:42
25 lines
1384 bytes
1384 bytes
I'm trying to use GNU Make 3.54 on a Sun-3/160 running SunOS 4.0.3. I've
found unexpected behavior which I believe to be a bug. When a file is located
using VPATH, its modification time is not used correctly.
My 1-line Makefile:
VPATH = obj
Repeat by:
mkdir sub obj
echo >obj/test.o
echo >test.c
# make sure that test.c is newer than obj/test.o
make -n test.o
Make says
`obj/test.o' is up to date.
even though test.c is newer than test.o. I expected Make to notice that the
object file is older than the source file and issue a cc command.
-------------------------------------------------------------------------------
Rick Simkin || Phone: +1 (508) 685-7200 x134 (fax 685-4940)
Samsung Software America, Inc. || Internet: simkin@samsung.com
1 Corporate Drive || UUCP: {uunet,ulowell}!ginosko!simkin
Andover, Mass. 01810 USA || decvax!bu-tyng!ulowell!ginosko!simkin
-------------Any opinions expressed are my own, not my employer's.-------------
Technical Details
Message-ID:
<4838@ginosko.samsung.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!ginosko!simkinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!ginosko!simkin From: simkin@samsung.com (Rick Simkin) Newsgroups: gnu.utils.bug Subject: Bug in Make 3.54 Keywords: VPATH, dependency, time Message-ID: <4838@ginosko.samsung.com> Date: 13 Oct 89 20:42:29 GMT Organization: Samsung Software America, Inc. Lines: 25