File: extconf.rb

package info (click to toggle)
ruby-posix-spawn 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 196 kB
  • sloc: ruby: 916; ansic: 286; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
require 'mkmf'

# warnings save lives
$CFLAGS << " -Wall "

if RUBY_PLATFORM =~ /(mswin|mingw|bccwin)/
  File.open('Makefile','w'){|f| f.puts "default: \ninstall: " }
else
  create_makefile('posix_spawn_ext')
end