[Top][All Lists]

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

Re: builddir vs. srcdir

From: Alexandre Duret-Lutz
Subject: Re: builddir vs. srcdir
Date: Thu, 10 Mar 2005 00:42:26 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

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

The way to erase dependency info is distclean:

  make -k distclean; ./configure; make
Alexandre Duret-Lutz

reply via email to

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