1 # A ruby script to generate the C Makefile.
4 dir_config('ohcount_native')
5 have_library('pcre','pcre_compile')
7 # FLAGS: enable logging (or not)
8 if $*.include?("debug")
9 puts "BUILD_TYPE: DEBUG"
11 puts "BUILD_TYPE: RELEASE"
12 $CFLAGS = "#{$CFLAGS} -g -O2 -Wall -DNDEBUG"
15 create_makefile('ohcount_native')