Add windows platforms

This commit is contained in:
Takashi Kokubun 2016-06-03 21:35:15 +09:00
parent 74a1e1be46
commit 1ebb0e2733
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ $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
if /mswin|mingw|cygwin|bccwin/ =~ RUBY_PLATFORM
FileUtils.cp(path, src)
else
FileUtils.ln_s(path, src, force: true)