|
|
| |
$objs = ["glu.o", "ogl.o", "rbogl.o"] | $objs = ["glu.o", "ogl.o", "rbogl.o"] |
#have_library("pthread", "pthread_create") | #have_library("pthread", "pthread_create") |
if have_ogl_library(gl_libname) && have_ogl_library(glu_libname) |
if have_ogl_library(gl_libname, "glBegin") && have_ogl_library(glu_libname, "gluLookAt") |
create_makefile("opengl") | create_makefile("opengl") |
File.rename("Makefile", "Makefile.ogl") | File.rename("Makefile", "Makefile.ogl") |
modules = modules + "opengl.#{CONFIG['DLEXT']}" | modules = modules + "opengl.#{CONFIG['DLEXT']}" |
|
|
end | end |
| |
$objs = ["glut.o"] | $objs = ["glut.o"] |
if have_library(glut_libname) |
if have_library(glut_libname, "glutInit") |
create_makefile("glut") | create_makefile("glut") |
File.rename("Makefile", "Makefile.glut") | File.rename("Makefile", "Makefile.glut") |
modules = "glut.#{CONFIG['DLEXT']} " + modules | modules = "glut.#{CONFIG['DLEXT']} " + modules |