mirror of https://github.com/PCSX2/pcsx2.git
32 lines
415 B
Bash
32 lines
415 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
curdir=`pwd`
|
||
|
|
||
|
echo ----------------------
|
||
|
echo Building ZeroGS OpenGL
|
||
|
echo ----------------------
|
||
|
|
||
|
cd ${curdir}/opengl
|
||
|
|
||
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
||
|
then
|
||
|
|
||
|
aclocal
|
||
|
automake
|
||
|
autoconf
|
||
|
chmod +x configure
|
||
|
./configure --enable-sse2 --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}/
|