File: extconf.rb

package info (click to toggle)
libopengl-ruby 0.60.1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,988 kB
  • ctags: 5,078
  • sloc: ansic: 24,677; ruby: 10,858; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
require "mkmf"

RUBYVER = " -DRUBY_VERSION=" + RUBY_VERSION.split(".").join
$CFLAGS += RUBYVER
dir_config('x11','/usr/X11R6')
have_library("GL", "glVertex3f")
have_library("GLU", "gluOrtho2D")
have_library("glut", "glutInit")
create_makefile("glut")