On Thu, 14 Feb 2002, Alexandre Duret-Lutz wrote: > When does this happens? I've tried to make a test case which > use the following Makefile.am > > AUTOMAKE_OPTIONS = subdir-objects > bin_PROGRAMS = foo > foo_SOURCES = foo/parse.y > > but this raised another problem: the specific rule output to > build foo/parse.c does not supports VPATH builds.
Yes, that is exactly the problem I saw. I was trying to build in a sibling directory. AUTOMAKE_OPTIONS = foreign bin_PROGRAMS = prog tvtwm_SOURCES = grammar.y lex.l and then i had the source in path/src and built in path/build
