This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: builddir vs. srcdir
>>> "Paul" == Paul Pogonyshev <pogonyshev@gmx.net> 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
--
Alexandre Duret-Lutz