🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #75684

gnu make dependency determination: is there a better way?

#75684
From: Dave Brennan
Date: Tue, 15 May 1990 22:59
23 lines
2169 bytes
     It appears as though Gnu make determines dependencies solely based
upon the last change date of the files in question.  However this doesn't
seem to handle the case in which several developers are compiling in
separate directories using a source control system like RCS.

     For example, I may be compiling in my build directory when another
user checks in a stable version of `foo.c.' But, since I've already checked
out `foo.c' Gnu make isn't going to check out the new version for me.
Making `foo.c' dependent on the RCS archive isn't going to work either,
because another user might check in an unstable version of `foo.c' that I
don't want to compile with.

     I've been reading through the manual and don't see any way to take
care of the problem, short of modifying make.  If someone has solved this
problem with Gnu make or another tool, please let me know.  Otherwise I may
modify Gnu make so that the method that it uses to determine dependencies
can be changed.
--
                                                   _________
Dave Brennan, User Interfaces, Data General Corp. /      brennan@dg-rtp.dg.com 
Research Triangle Park, North Carolina, 27709    /  ...mcnc!rti!dg-rtp!brennan
Hm: (919) 460-5725  Wk: (919) 248-6330 _________/ dave_brennan@rpitsmts.bitnet
Technical Details
Message-ID: <BRENNAN.90May15185929@bach.rtp.dg.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!xanth!mcnc!rti!dg-rtp!dg-rtp!brennan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8c9b,a5f98d96419bba48,start
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: 1025b4,a5f98d96419bba48,start
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 10f9b1,a5f98d96419bba48,start
X-Google-Attributes: gid10f9b1,public
X-Google-ArrivalTime: 1990-05-15 18:09:57 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!xanth!mcnc!rti!dg-rtp!dg-rtp!brennan
From: brennan@rtp.dg.com (Dave Brennan)
Newsgroups: gnu.misc.discuss,comp.unix.wizards,comp.unix.questions
Subject: gnu make dependency determination: is there a better way?
Message-ID: <BRENNAN.90May15185929@bach.rtp.dg.com>
Date: 15 May 90 22:59:29 GMT
Sender: usenet@dg-rtp.dg.com (Usenet Administration)
Organization: Data General, RTP, NC
Lines: 23
Posted: Tue May 15 23:59:29 1990