🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #122

VPATH in GNU make

#122
From: Jason Merrill
Date: Sun, 29 Mar 1992 09:22
20 lines
1294 bytes
The GNU Make 3.62 info file has this to say:

   * In System V and 4.3 BSD `make', files found by `VPATH' search
     (*Ref Directory Search::.) have their names changed inside
     command strings.  We feel it is much cleaner to always use
     automatic variables and thus make this feature obsolete.

I'd like to argue with this.  It's a real pain to go through other people's
makfiles changing blah.c to $^ or even $(firstword $^) when you're
converting makefiles that were never meant to use VPATHs.  And after you've
done this, you can't use the makefile with other makes anymore.

For an example of a makefile for which this is necessary, consider the etc
directory makefile in the Emacs 18.58 distribution.  I think that
deliberately omitting this feature of make makes my life more difficult
without good reason.

--
Jason Merrill
jason@jarthur.claremont.edu
Technical Details
Message-ID: <1992Mar29.092246.22787@muddcs.claremont.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason
From: jason@jarthur.claremont.edu (Jason Merrill)
Subject: VPATH in GNU make
Message-ID: <1992Mar29.092246.22787@muddcs.claremont.edu>
Sender: gnulists@ai.mit.edu
Organization: Harvey Mudd College
Distribution: gnu
Date: Sun, 29 Mar 1992 09:22:46 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 21