#!/usr/bin/env ruby

require "mkmf"

$CFLAGS << " -ggdb -O0 -Wextra -DDEBUG_H" # only for development

should_build = true
should_build &&= have_header "ruby.h"
should_build &&= defined?(RUBY_ENGINE) && %w[ruby rbx].include?(RUBY_ENGINE)

if should_build
  create_makefile("stompede/stomp/c_parser")
else
  dummy_makefile(".")
end

#!/usr/bin/env ruby

require "mkmf"

$CFLAGS << " -O3"

should_build = true
should_build &&= have_header "ruby.h"
should_build &&= defined?(RUBY_ENGINE) && %w[ruby rbx].include?(RUBY_ENGINE)

if should_build
  create_makefile("stompede/stomp/c_parser")
else
  dummy_makefile(".")
end

Allow C-optimizations for even more C parser speed
Allow C-optimizations for even more C parser speed
