mirror of
https://github.com/SFML/SFML.git
synced 2024-12-02 00:01:05 +08:00
27 lines
408 B
Ruby
27 lines
408 B
Ruby
|
require "mkmf"
|
||
|
|
||
|
dir_config('SFML')
|
||
|
|
||
|
libs = [
|
||
|
"GL",
|
||
|
"GLU",
|
||
|
"sfml-system",
|
||
|
"sfml-window",
|
||
|
"sfml-graphics",
|
||
|
"sfml-audio",
|
||
|
]
|
||
|
|
||
|
libs.each {|lib|
|
||
|
unless have_library(lib)
|
||
|
puts "Unable to find #{lib}.lib!"
|
||
|
puts "Please specify the path to them using:"
|
||
|
puts "--with-SFML-lib=lib_path"
|
||
|
puts "--with-SFML-include=include_path"
|
||
|
puts
|
||
|
exit
|
||
|
end
|
||
|
}
|
||
|
|
||
|
create_makefile("RubySFML")
|
||
|
|