Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 245 Bytes
if (defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/) or ENV['OS'] == "Windows_NT"
File.open('Makefile', 'w'){|f| f.puts "all:\n\ninstall:\n" }
else
require 'mkmf'
$CFLAGS = "-g -O2 -Wall -Werror"
create_makefile 'cassandra_native'
end