Jim Weirich wrote: > > > file "file.exe" => ['file.cpp', 'file.h'] do > > > sh %{cc file.cpp -o file.exe} > > > end > > > > Is that the complete Rakefile? > > Complete enough to build the file.exe upon request (e.g. "rake file.exe" from > the command line). If you wish to make file.exe the default target (so that > a plain "rake" one the command line will work), you can add the following > line ... > > task :default => ["file.exe"] You need someone as brain-damaged as me to help you improve the manual. I couldn't make that connection from reading the intro, and the stuff for 'task' and 'file'. The next time I need my make() function I will instead use Rake, to force it to grow on me. -- Phlip