mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-25 02:09:52 +00:00
3a8bfabd2e
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@616 96395faa-99c1-11dd-bbfe-3dabce05a288
40 lines
533 B
Bash
40 lines
533 B
Bash
#!/bin/sh
|
|
|
|
curdir=`pwd`
|
|
|
|
if test "${ZEROSPU2OPTIONS+set}" != set ; then
|
|
export ZEROSPU2OPTIONS=""
|
|
fi
|
|
|
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
|
then
|
|
|
|
cd ../../3rdparty/SoundTouch/
|
|
sh build.sh $@
|
|
cd $curdir
|
|
|
|
rm libSoundTouch.a
|
|
cp ../../3rdparty/SoundTouch/libSoundTouch.a ./
|
|
|
|
echo -----------------
|
|
echo Building ZeroSPU2
|
|
echo -----------------
|
|
|
|
aclocal
|
|
automake -a
|
|
autoconf
|
|
./configure ${ZEROSPU2OPTIONS} --prefix=${PCSX2PLUGINS}
|
|
make clean
|
|
make install
|
|
|
|
else
|
|
make $@
|
|
fi
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
#cp libZeroSPU2*.so* ${PCSX2PLUGINS}
|