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

SYSTEMauto 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

allBuild everything.
glew.libBuild static and dynamic GLEW libraries.
glew.lib.mxBuild static and dynamic GLEWmx libraries.
glew.binBuild glewinfo and visualinfo utilities.
cleanDelete temporary and built files.
install.allInstall everything.
installInstall GLEW libraries.
install.mxInstall GLEWmx libraries.
install.binInstall glewinfo and visualinfo utilities.
uninstallDelete installed files.

Requirements

Ubuntu:
sudo apt-get install Xmu-dev Xi-Dev