module Setup def self.compile makefiles = Dir['ext/**/Makefile') makefiles.each do |makefile| cd File.dirname(extconf) do system "make" end end end end # # Runners # if $0 == __FILE__ Setup::ConfigTable.run_cli(:compile) elsif defined?(Rake) Setup::ConfigTable.run_rake end