help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "vpath" not working the way i expected


From: Robert P. J. Day
Subject: Re: "vpath" not working the way i expected
Date: Tue, 22 Feb 2005 12:38:44 -0500 (EST)

On Tue, 22 Feb 2005, Paul D. Smith wrote:

> %% "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.

ok, i see what's happening.  i *knew* that was too easy.

rday




reply via email to

[Prev in Thread] Current Thread [Next in Thread]