author | Ryan C. Gordon <icculus@icculus.org> |
Sun, 26 Sep 2004 13:17:54 +0000 | |
changeset 654 | c0ae01de361d |
parent 514 | f4e89d934fee |
permissions | -rw-r--r-- |
514
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
1 |
require 'mkmf' |
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
2 |
|
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
3 |
$CFLAGS += `sdl-config --cflags`.chomp |
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
4 |
$LDFLAGS += `sdl-config --libs`.chomp |
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
5 |
|
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
6 |
have_library "physfs", "PHYSFS_init" |
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
7 |
have_library "SDL", "SDL_AllocRW" |
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
8 |
|
f4e89d934fee
Initial import of Ruby bindings for PhysicsFS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
9 |
create_makefile "physfs_so" |