File: extconf.rb

package info (click to toggle)
ruby-murmurhash3 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 112 kB
  • sloc: ansic: 514; ruby: 267; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 212 bytes parent folder | download
1
2
3
4
5
6
7
8
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
  require 'mkmf'
  create_makefile("murmurhash3/native")
else
  File.open(File.dirname(__FILE__) + "/Makefile", 'w') do |f|
    f.write("install:\n\t")
  end
end