oga/ext/c/extconf.rb

12 lines
158 B
Ruby

require 'mkmf'
if RbConfig::CONFIG['cc'] =~ /clang|gcc/
$CFLAGS << ' -pedantic'
end
if ENV['DEBUG']
$CFLAGS << ' -O0 -g'
end
create_makefile('liboga')