Sha256: f99d13aadd5176b0eae007c389544615cf6538aceb62f08df692dc0e69ea8a62

Contents?: true

Size: 563 Bytes

Versions: 2

Compression:

Stored size: 563 Bytes

Contents

# -*- coding: utf-8 -*-


%w[../xot ../rucy .]
  .map  {|s| File.expand_path "../../#{s}/lib", __dir__}
  .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}

require 'mkmf'
require 'xot/extconf'
require 'xot/extension'
require 'rucy/extension'
require 'beeps/extension'


Xot::ExtConf.new Xot, Rucy, Beeps do
  setup do
    headers    << 'ruby.h' << 'OpenAL/al.h' << 'OpenAL/alc.h'
    local_libs << 'rucy'
    frameworks << 'OpenAL' if osx?
    $LDFLAGS   << ' -Wl,--out-implib=native.dll.a' if cygwin?
  end

  create_makefile 'beeps/native'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beeps-0.1.32 ext/beeps/extconf.rb
beeps-0.1.31 ext/beeps/extconf.rb