blob: cbcf32bb1193e39929de6ef3fdb8ab3a2255997b [file] [log] [blame]
#!/bin/sh
set -e
# GL3W requires CMake
GL3W_REPO=https://github.com/skaslev/gl3w
GL3W_STABLE_BRANCH=master
if [ ! -d gl3w ]; then
echo "Cloning gl3w."
git clone $GL3W_REPO
fi
cd gl3w && git checkout $GL3W_STABLE_BRANCH && git fetch && git pull
mkdir -p build
cd build
cmake ../
make