Sha256: 4c99a97a1a4b2a856415f0b5e4607054480c5cd7b528aaae0b13b179269b8ddf

Contents?: true

Size: 708 Bytes

Versions: 6

Compression:

Stored size: 708 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

6 entries across 6 versions & 1 rubygems

Version Path
chess-0.0.6 ext/extconf.rb
chess-0.0.5 ext/extconf.rb
chess-0.0.4 ext/extconf.rb
chess-0.0.3 ext/extconf.rb
chess-0.0.2 ext/extconf.rb
chess-0.0.1 ext/extconf.rb