Sha256: 23647171fb16901258e70b8539d6e24231ad29e893f2eb2dcff97cf85ef3535b

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 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/ =~ 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

1 entries across 1 versions & 1 rubygems

Version Path
hamlit-2.4.1 ext/hamlit/extconf.rb