From: jim@... Date: 2004-08-28T05:40:34+09:00 Subject: Re: Rake Bug * Jim Weirich [2004-08-28 05:11:24 +0900]: > > If you want something to be dependent upon the rakefile, then declare the > Rakefile in the dependencies. Good idea. So, does the following look like a good way to do this? The following: file "app" => ["app.o"] do # link app end file "app.o" => ["main.c", "app.c"] do # compile app.o end would become: file "app" => ["app.o"] do # link app end file "app.o" => ["main.c", "app.c"] do # compile app.o end file "app.c" => ["Rakefile"] do |t| sh "touch #{t.name}" end file "main.c" => ["Rakefile"] do |t| sh "touch #{t.name}" end -- Jim Freeze