#!/bin/sh

. config/options $1

cd $PKG_BUILD
make SYSTEM=linux GLEW_DEST=/usr CC=$TARGET_CC

mkdir -p $SYSROOT_PREFIX/usr/lib
  cp -PR lib/* $SYSROOT_PREFIX/usr/lib

mkdir -p $SYSROOT_PREFIX/usr/include
  cp -PR include/* $SYSROOT_PREFIX/usr/include
