On Sun, May 28, 2006 at 04:38:54AM +0900, Kevin Clark wrote:
> I figure the best way to pull Rakefile generation code into a library
> is to have lots of Rakefiles to work with. I'm specificly looking for
> Rakefiles used to compile C programs, but I'm happy to look at common
> elements of whatever you have.

You could maybe have a look at Rant: it seems[1] much more powerful when it
comes to compiling stuff (built-in dependency checking, command change
recognition, etc...). I bet you can steal a few ideas from there.

[1] judging from a quick look at the docs: 
    http://make.rubyforge.org/files/README.html
-- 
Mauricio Fernandez  -   http://eigenclass.org   -  singular Ruby