From: Jim Weirich Date: 2006-03-18T21:35:46+09:00 Subject: Re: incremental rebuild with Rake Simon Strandgaard wrote: > On 3/17/06, Jim Weirich wrote: > [snip] >> Rake supports dependency files by importing them, like this: > [snip] > > > Touching 'a.cpp' does not result in a compile, what am I doing wrong? > (Touching 'a.h' works fine.) Ahh, evidently, makedepend does not create an explicit dependency between a.o and a.cpp. Make probably deduces this implicitly. however, rake does not. So just make the relationship explicit. Add the following to your Rakefile: CPP_FILES.each do |src| file src.ext(".o") => src end -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.