[Top][All Lists]

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

Re: converting to subdir-objects

From: Harlan Stenn
Subject: Re: converting to subdir-objects
Date: Mon, 09 Mar 2015 00:12:42 +0000

Hi Peter,

Peter Johansson writes:
> On 03/08/2015 07:46 PM, Harlan Stenn wrote:
> > The problem I'm seeing (with at least automake-1.12.1 and automake-1.15)
> > is that the .deps directories are not being created along the subdir
> > path, so the build is failing.
> >
> > So if A/ contains:
> >
> >   foo_SRCS = ... $(srcdir)/../foo/bar.c
> Hi Harlan,
> I had the same issue and wouldn't care unless Automake 1.15 started to 
> warn about "source file in a subdirectory". In my case 'bar.o' is also 
> built from 'foo/Makefile' so I decided to skip using 'bar.c' as SOURCE 
> and instead link in 'foo/bar.o'.

The problem is that in this case, A/Makefile is the *only* place that
bar.o is created and used.  There is no other location for me to link to
an object.


reply via email to

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