Sha256: ba36e22977e3e9b00a6f940ce65d49324c75dfbbef694b540ae7a3aa2dff714b

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

require 'mkmf'

houdini_dir = File.expand_path('./houdini', __dir__)
$INCFLAGS << " -I#{houdini_dir}"
$CFLAGS   << ' -Wall -Wextra'

$srcs = %w[hamlit.c]
Dir[File.join(houdini_dir, '*.c')].each do |path|
  src = File.basename(path)
  if /mswin|mingw|cygwin|bccwin/ =~ RUBY_PLATFORM
    FileUtils.cp(path, src)
  else
    FileUtils.ln_s(path, src, force: true)
  end
  $srcs << src
end

create_makefile('hamlit/hamlit')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hamlit-2.5.0 ext/hamlit/extconf.rb
hamlit-2.4.2 ext/hamlit/extconf.rb