| 
 | 
The OpenGL Extension Wrangler Library
Building GLEW
Windows
A MS Visual Studio project is provided in the build/vc6 directory. 
Pre-built shared and static libraries are also available for download. 
Makefile
For platforms other than MS Windows, the provided Makefile is used.  
Command-line variables
| SYSTEM | auto | 
Target system to build: darwin, linux, solaris, etc. For a full list of supported targets: ls config/Makefile.* 
config.guess is used to auto detect, as necessary. |  
| GLEW_DEST | /usr | 
Base directory for installation. |  
 
Make targets
| all | Build everything. |  
 | glew.lib | Build static and dynamic GLEW libraries. |  
 | glew.lib.mx | Build static and dynamic GLEWmx libraries. |  
 | glew.bin | Build glewinfo and visualinfo utilities. |  
 | clean | Delete temporary and built files. |  
 | install.all | Install everything. |  
 | install | Install GLEW libraries. |  
 | install.mx | Install GLEWmx libraries. |  
 | install.bin | Install glewinfo and visualinfo utilities. |  
 | uninstall | Delete installed files. |  
  
Requirements
- GNU make
 
- perl
 
- wget
 
- GNU sed
 
- gcc compiler
 
- git
 
 
Ubuntu: sudo apt-get install libXmu-dev libXi-dev libgl-dev dos2unix git wget 
Fedora: sudo yum install libXmu-devel libXi-devel libGL-devel dos2unix git wget 
 |