automake
[Top][All Lists]
Advanced

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

Re: Automake: Compiling sources in other directories


From: Dave Brolley
Subject: Re: Automake: Compiling sources in other directories
Date: Mon, 15 Jan 2001 12:13:14 -0500
User-agent: Mozilla/5.0 (Windows; U; Win95; en-US; m18) Gecko/20001108 Netscape6/6.0


Tom Tromey wrote:

"Dave" == Dave Brolley <address@hidden> writes:


Dave> To work around the problem I have to change the generated dependency to:

Dave>    h1.lo: ../host/h1.cpp
Dave>        $(LTCXXCOMPILE) -c -o $@ $<

Dave> Is this a make bug, or should automake be generating a rule for
Dave> making hl.lo? My version of make is 3.79.1.

It is an automake bug; make is doing the right thing.
I'm checking in a test case.

OK, thanks Tom.

FWIW, I'm working around this for now using VPATH:

  VPATH=$(srcdir):../host

and specifying h1.cpp without a path in in libfred_la_SOURCES. Seems to work OK. Is this supported?

Dave




reply via email to

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