mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
2f524481c1
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1002 4e206d99-4929-0410-ac5d-dfc041789085
21 lines
322 B
Ruby
21 lines
322 B
Ruby
require "mkmf"
|
|
$CFLAGS = "/MD /O2 /EHsc /DWIN32 /DNDEBUG /D_WINDOWS"
|
|
#$CFLAGS = "/MD /Zi /EHsc /DWIN32 /DNDEBUG /D_WINDOWS"
|
|
#$LDFLAGS = "/Zi"
|
|
|
|
libs = [
|
|
"opengl32",
|
|
"glu32",
|
|
]
|
|
|
|
libs.each {|lib|
|
|
unless have_library(lib)
|
|
puts "Unable to find #{lib}.lib!"
|
|
puts
|
|
exit
|
|
end
|
|
}
|
|
|
|
create_makefile("gl")
|
|
|