🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3735

Re: make (possible FAQ)

#3735
From: Barry Margolin
Date: Mon, 26 Jan 2004 08:16
21 lines
1944 bytes
In article <rm7jzfp5z0.fsf@mlinux.pd.infn.it>,
 Maurizio Loreti <mlo@foobar.it> wrote:

> Ian Zimmerman <bayard@newsguy.com> writes:
> 
> > Maybe you could read te whole post :-)
> 
> I did.  If running "command" is triggered by inadequacy of target1,
> but updates both target1 and target2, a second run of command is never
> triggered being now target2 up-to-date..

I don't think that's how make works.  It makes a plan at the beginning.  
So if target1 and target2 are initially out of date, it will plan on 
running the rules that update each of them.  If updating target1 also 
updates target2, it won't revise its plan; it will still run the rule a 
second time to update target2.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Technical Details
Message-ID: <barmar-2A5FDD.03163226012004@netnews.comcast.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!attbi_feed3!attbi.com!attbi_s03.POSTED!not-for-mail
References: <8765f1qkfi.fsf@newsguy.com> <rmad4ch21f.fsf@mlinux.pd.infn.it> <8765ezev79.fsf@newsguy.com> <rm7jzfp5z0.fsf@mlinux.pd.infn.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f73,8351a0d0234ee903
X-Google-Attributes: gid109f73,public
X-Google-Thread: fc89c,8351a0d0234ee903
X-Google-Attributes: gidfc89c,public
X-Google-ArrivalTime: 2004-01-26 00:16:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!attbi_feed3!attbi.com!attbi_s03.POSTED!not-for-mail
From: Barry Margolin <barmar@alum.mit.edu>
Newsgroups: comp.unix.programmer,gnu.utils.help
Mail-Copies-To: nobody
Subject: Re: make (possible FAQ)
Organization: Looking for work
References: <8765f1qkfi.fsf@newsguy.com> <rmad4ch21f.fsf@mlinux.pd.infn.it> <8765ezev79.fsf@newsguy.com> <rm7jzfp5z0.fsf@mlinux.pd.infn.it>
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
X-Copies-To: never
Message-ID: <barmar-2A5FDD.03163226012004@netnews.comcast.net>
Lines: 21
NNTP-Posting-Host: 24.34.107.202
X-Complaints-To: abuse@comcast.net
X-Trace: attbi_s03 1075104993 24.34.107.202 (Mon, 26 Jan 2004 08:16:33 GMT)
NNTP-Posting-Date: Mon, 26 Jan 2004 08:16:33 GMT
Date: Mon, 26 Jan 2004 08:16:33 GMT