mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-27 00:26:50 +00:00
10 lines
234 B
Ruby
10 lines
234 B
Ruby
|
require 'mkmf'
|
||
|
|
||
|
dir_config('yourlib')
|
||
|
|
||
|
if have_header('yourlib.h') and have_library('yourlib', 'yourlib_init')
|
||
|
# If you use swig -c option, you may have to link libswigrb.
|
||
|
# have_library('swigrb')
|
||
|
create_makefile('yourlib')
|
||
|
end
|