On Sun, 2003-03-16 at 21:48, nobu.nokada / softhome.net wrote:
> Hi,
> 
> At Sat, 15 Mar 2003 12:56:35 +0900,
> Jim Weirich wrote:
> > Here is a file based dependency that will compile "hello.cc" to
> > "hello.o".
> > 
> >    file "hello.cc"
> 
> This line looks verbose for me.
> 
> >    require 'rake/ctools'
> >    Dir['*.c'].each do |fn|
> >      c_source_file(fn)
> >    end
> 
> Why not pattern rule?

Yes.  This is exactly the kind of thing I had in mind.  Thanks for the
diffs.

-- 
-- Jim Weirich     jweirich / one.net    http://w3.one.net/~jweirich
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)