1 2 3 4 5 6 7 8 9
require 'mkmf' require 'rbconfig' if CONFIG['CC'] =~ /gcc/ #CONFIG['CC'] += ' -Wall -ggdb' CONFIG['CC'] += ' -Wall' end create_makefile 'json/ext/parser'