mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-25 03:05:12 +00:00
ec3a17d9cc
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@523 96395faa-99c1-11dd-bbfe-3dabce05a288
37 lines
505 B
Bash
37 lines
505 B
Bash
#!/bin/sh
|
|
|
|
curdir=`pwd`
|
|
|
|
echo ----------------------
|
|
echo Building ZeroGS OpenGL
|
|
echo ----------------------
|
|
|
|
if test "${ZEROGSOPTIONS+set}" != set ; then
|
|
export ZEROGSOPTIONS="--enable-sse2"
|
|
fi
|
|
|
|
cd ${curdir}/opengl
|
|
|
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
|
then
|
|
|
|
aclocal
|
|
automake
|
|
autoconf
|
|
chmod +x configure
|
|
./configure ${ZEROGSOPTIONS} --prefix=${PCSX2PLUGINS}
|
|
|
|
make clean
|
|
make install
|
|
|
|
else
|
|
make $@
|
|
fi
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
#cp libZeroGSogl*.so* ${PCSX2PLUGINS}/
|
|
cp Win32/ps2hw.dat ${PCSX2PLUGINS}/ |