🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #291

Another Make bug

#291
From: John M Sellens
Date: Wed, 05 Sep 1984 09:51
40 lines
1767 bytes
Make can't make up it's mind:

    %ls -alg
    -rw-r--r--  1 jmsellens     source          0 Sep  5 05:30 all
    -rw-r--r--  1 jmsellens     source          0 Sep  5 05:29 inter
    -rw-r--r--  1 jmsellens     source          0 Sep  5 05:30 one
    -rw-r--r--  1 jmsellens     source          0 Sep  5 05:27 two

    %cat Makefile
    all : inter
            touch all

    inter : one two

Now, what does make do??
    %make -n
    touch all
    %make
    `all' is up to date.
    %make -n
    touch all

Why can't make make up its mind?  My guess is that when it makes a file
in '-n' mode, it assumes that the time of the file becomes the current time,
and when it actually makes a file, it looks at the actual time of the file.

Another 'bug': If 'inter' doesn't exist, make always insists that
all needs to be made i.e. it always wants to 'touch all'.

(I like using make for weird things ...)

Now I'm in a quandry - should my make equivalent program for the PC
include the dumb things about make too??  :-)

John M Sellens
UUCP:  {decvax|utzoo|ihnp4|allegra|clyde}!watmath!jmsellens
CSNET: jmsellens%watmath@waterloo.csnet
ARPA:  jmsellens%watmath%waterloo.csnet@csnet-relay.arpa

p.s. Does anybody care about these bugs?  Is S.I. Feldman on the net??
Technical Details
Message-ID: <8868@watmath.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!jmsellens

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site watmath.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!jmsellens
From: jmsellens@watmath.UUCP (John M Sellens)
Newsgroups: net.bugs
Subject: Another Make bug
Message-ID: <8868@watmath.UUCP>
Date: Wed, 5-Sep-84 05:51:49 EDT
Article-I.D.: watmath.8868
Posted: Wed Sep  5 05:51:49 1984
Date-Received: Thu, 6-Sep-84 04:12:25 EDT
Organization: U of Waterloo, Ontario
Lines: 40