Sha256: 6a4e3e56d892f1782037529abb56d857f3f595ecb43473708a29c2eb601d85a4

Contents?: true

Size: 709 Bytes

Versions: 8

Compression:

Stored size: 709 Bytes

Contents

ENV['RC_ARCHS'] = '' if RUBY_PLATFORM =~ /darwin/

require 'mkmf'

INCLUDE_DIRS = [
  # Check the ruby install locations
  RbConfig::CONFIG['includedir'],
  # First earch /opt/local for macports
  '/opt/local/include',
  # Then search /usr/local for people that installed from source
  '/usr/local/include',
  # Finally fall back to /usr
  '/usr/include',
]

LIB_DIRS = [
  # Check the ruby install locations
  RbConfig::CONFIG['libdir'],
  # First search /opt/local for macports
  '/opt/local/lib',
  # Then search /usr/local for people that installed from source
  '/usr/local/lib',
  # Finally fall back to /usr
  '/usr/lib',
]

#dir_config('chess', INCLUDE_DIRS, LIB_DIRS)

create_makefile('chess/chess')

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
chess-0.2.0 ext/extconf.rb
chess-0.1.4 ext/extconf.rb
chess-0.1.3 ext/extconf.rb
chess-0.1.2 ext/extconf.rb
chess-0.1.1 ext/extconf.rb
chess-0.1.0 ext/extconf.rb
chess-0.0.9 ext/extconf.rb
chess-0.0.8 ext/extconf.rb