Sha256: e4b22e225e4ac0de6fe16f1515d4102c58d91264dc46f1d5a575bd305342bd3f

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

require "mkmf"

arch = RbConfig::CONFIG["arch"]
case arch
when /mingw/
  File.write("Makefile", dummy_makefile("libmf").join)
else
  abort "Missing stdc++" unless have_library("stdc++")
  $CXXFLAGS << " -std=c++11"

  # TODO
  # if have_library("libomp")
  # end

  $objs = ["mf.o"]
  vendor_path = File.expand_path("../../vendor/libmf", __dir__)
  create_makefile("libmf", vendor_path)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libmf-0.1.3 ext/libmf/extconf.rb
libmf-0.1.2 ext/libmf/extconf.rb
libmf-0.1.1 ext/libmf/extconf.rb
libmf-0.1.0 ext/libmf/extconf.rb