[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "vpath" not working the way i expected
From: |
Paul D. Smith |
Subject: |
Re: "vpath" not working the way i expected |
Date: |
Tue, 22 Feb 2005 12:27:09 -0500 |
%% "Robert P. J. Day" <address@hidden> writes:
rpjd> for the first time, i incorporated "vpath" into a makefile and it's
rpjd> not working the way i expected it to based on the docs.
rpjd> vpath %.o ${BLDOSD}
rpjd> in short, the sources are in the current directory, but i want
rpjd> to build both the corresponding object files and the kernel
rpjd> driver in the arch-specific ${BLDOSD} directory.
That won't work; that's not how VPATH works and not what it was designed
for.
See my web site below for some information on VPATH.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist