This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Subdirectory problem
- From: Peter Gavin <pgavin at debaser dot kicks-ass dot org>
- To: automake at gnu dot org
- Date: Sat, 21 Sep 2002 18:36:10 -0400
- Subject: Subdirectory problem
Hi,
I decided to switch a project I'm working on to use a single top level Makefile, instead of using recursive make. One thing I noticed was that if you have this in your Makefile.am:
bin_PROGRAMS = a/a
a_a_SOURCES = a/a.c
Then a.o gets built in $(top_builddir), not $(top_builddir)/a as I would have expected, and as it would be using recursive make. Is this a bug, or am I misunderstanding something?
Peter Gavin