🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #37

GNU Make 3.62 and vpath

#37
From: dougv
Date: Thu, 29 Oct 1992 19:18
24 lines
1421 bytes
I am trying to use GNUMake with the vpath directive and am having the
following problem:

I am building a library made up of objects derived from C files.

I have a copy of the library in my current directory, the object file
only exists in the remote directory and the C file is local.

vpath points to the remote directory.

If I run the make, the local object gets built (since the C file is newer
than the object in remote), but the library does not get rebuilt since
(it appears) vpath is still looking at the object in remote rather than
the newly created one locally.

How can I get the vpath to be re-searched and the local object picked up?
It seems like this should be the default mode of operation.

Thank you in advance for your help.

----------------------------------------------------------------------
D. Douglas Valkenaar       ROLM PhoneMail         (dougv@vnet.ibm.com)
(408) 492-6119                                    FAX - (408) 492-6132
----------------------------------------------------------------------
Technical Details
Message-ID: <9210291926.AA25401@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vnet.ibm.com!dougv

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vnet.ibm.com!dougv
From: dougv@vnet.ibm.com
Subject: GNU Make 3.62 and vpath
Message-ID: <9210291926.AA25401@life.ai.mit.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 29 Oct 1992 19:18:29 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 25