[Top][All Lists]

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

Re: builddir vs. srcdir

From: Paul Pogonyshev
Subject: Re: builddir vs. srcdir
Date: Thu, 10 Mar 2005 20:27:01 +0200
User-agent: KMail/1.4.3

Alexandre Duret-Lutz wrote:
> >>> "Paul" == Paul Pogonyshev <address@hidden> writes:
>  Paul> Stepan Kasal wrote:
>  >> Hello,
>  >>
>  >> On Tue, Mar 08, 2005 at 11:56:56PM +0200, Paul Pogonyshev wrote:
>  >> > because the generated sources are placed into the build directory,
>  >> > while `make' looks for them in the source directory.
>  >>
>  >> generally, make should look for them in both places.
>  Paul> Yes, and it does look in both places, but the dependencies make
> `foo.o' Paul> depend on `$(srcdir)/foo.c',
> This could happen if this location was the right one in the
> past, and building foo.c in the build directory is a recent
> change.  In that case the dependency file still have the old
> info.
> The way to erase dependency info is distclean:
>   make -k distclean; ./configure; make

Yup, you are right, thanks.  Should have guessed myself...  >:[


reply via email to

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