🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jason Merrill Sun, 29 Mar 1992 09:22
VPATH in GNU make
#122
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads