extconf.rb 194 B

123456789
  1. require 'mkmf'
  2. $CFLAGS += `sdl-config --cflags`.chomp
  3. $LDFLAGS += `sdl-config --libs`.chomp
  4. have_library "physfs", "PHYSFS_init"
  5. have_library "SDL", "SDL_AllocRW"
  6. create_makefile "physfs_so"