mirror of https://github.com/PCSX2/pcsx2.git
31 lines
340 B
Bash
31 lines
340 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
curdir=`pwd`
|
||
|
|
||
|
echo ----------------
|
||
|
echo Building ZeroPAD
|
||
|
echo ----------------
|
||
|
|
||
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
||
|
then
|
||
|
|
||
|
#if possible
|
||
|
aclocal
|
||
|
automake -a
|
||
|
autoconf
|
||
|
chmod +x configure
|
||
|
./configure --prefix=${PCSX2PLUGINS}
|
||
|
make clean
|
||
|
make install
|
||
|
|
||
|
else
|
||
|
make $@
|
||
|
fi
|
||
|
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
#cp libZeroPAD*.so* ${PCSX2PLUGINS}
|