Re: Dependencies and other issues with generated files

2012-06-28 Thread Stefano Lattarini
On 06/28/2012 01:25 PM, David Sveningsson wrote: > >>> app_SOURCES = test.foo main.c >> >> I'm not sure how well listing the .foo file in _SOURCES is going to >> work, although someone who knows more about automake guts might be able >> to tell us exactly what happens. You should probably list

Re: Dependencies and other issues with generated files

2012-06-28 Thread David Sveningsson
On 06/27/2012 10:47 PM, Nick Bowler wrote: > Hello David, > > On 2012-06-27 18:13 +0200, David Sveningsson wrote: >> I'm having some problems when generating source files. I have written a >> tool which generates both a c source-file, a header and dependencies of >> the source, all at the same tim

Re: Dependencies and other issues with generated files

2012-06-27 Thread Nick Bowler
Hello David, On 2012-06-27 18:13 +0200, David Sveningsson wrote: > I'm having some problems when generating source files. I have written a > tool which generates both a c source-file, a header and dependencies of > the source, all at the same time using a single command. There is an entire chapte

Dependencies and other issues with generated files

2012-06-27 Thread David Sveningsson
Hi, I'm having some problems when generating source files. I have written a tool which generates both a c source-file, a header and dependencies of the source, all at the same time using a single command. After stripping of the flags my rules basically look like this: SUFFIXES = .foo app