[Top][All Lists]

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

Re: running tests under in a tests/ directory

From: aaragon
Subject: Re: running tests under in a tests/ directory
Date: Tue, 9 Jun 2009 20:15:26 -0700 (PDT)

I'm actually building the tests inside a test directory: $(top_srcdir)/tests,
and the library I'm trying to link to is under $(top_srcdir)/yafeq. So if I
remove the $(top_srcdir) then it doesn't work anymore.

So the only way I made it work so far is using

LDADD = $(top_srcdir)/yafeq/

I mean, the tests are built fine if I add this line to the


Peter Johansson-7 wrote:
> Bob Friesenhahn wrote:
>> It is not necessary to specify top_builddir because that is where the 
>> Makefile is written and the directory where the build is performed. As 
>> you say, specifying $(top_srcdir) may cause harm since it is likely to 
>> break VPATH builds.
> Sorry, I thought we were dealing with a in a subdir, in 
> other words, a for which top_builddir does not equal `.'.
> Thanks,
> Peter

View this message in context:
Sent from the Gnu - Automake - General mailing list archive at

reply via email to

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