Makefile loader to be used with the import file loader. Use this to import dependencies from make dependency tools:
require 'rake/loaders/makefile' file ".depends.mf" => [SRC_LIST] do |t| sh "makedepend -f- -- #{CFLAGS} -- #{t.prerequisites} > #{t.name}" end import ".depends.mf"
See Importing Dependencies for further details.