🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Rick Simkin Fri, 13 Oct 1989 20:42
Bug in Make 3.54
#497
Author: Rick Simkin
Date: Fri, 13 Oct 1989 20:42
25 lines
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.-------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads