On Fri, Jun 08, 2007 at 10:52:25PM -0400, Bob Rossi wrote: > > in $(top_srcdir)/Makefile.am. I moved foo_parse.[ch], foo_scan.c from > > $(top_builddir) to $(top_srcdir)/foo. When I type "make", the files are > > generated in $(top_builddir); the files in $(top_srcdir)/foo are not > > updated. > > What is the name of the file that is generated in the build directory?
foo_parse.c foo_parse.h foo_scan.c > OK, I feel terrible. After looking at my build setup, it appears that > the FooGrammar.cxx file IS put into the build directory. However, the > FooLexer.cxx file is put in the source directory like I recalled. > When I move the FooGrammar.cxx file from the build directory > to the src directory, automake still puts the generated file in the > build directory. > > Is this the behavior you are seeing? I'm very sorry for the > misinformation. No problem, the info is still interesting. At least the lexer is generated in the source directory. Other ideas why? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/