mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-04-02 10:52:54 -04:00
git-svn-id: http://pcsx2.googlecode.com/svn/branches/pcsx2_0.9.4@186 96395faa-99c1-11dd-bbfe-3dabce05a288
37 lines
362 B
Bash
37 lines
362 B
Bash
#!/bin/sh
|
|
|
|
echo ---------------
|
|
echo Building Pcsx2
|
|
echo ---------------
|
|
|
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
|
then
|
|
|
|
aclocal
|
|
automake
|
|
autoconf
|
|
chmod +x configure
|
|
./configure ${PCSX2OPTIONS}
|
|
make clean
|
|
make install
|
|
|
|
else
|
|
|
|
make $@
|
|
|
|
#if [ $? -ne 0 ]
|
|
#then
|
|
#exit 1
|
|
#fi
|
|
|
|
#if [ $# -eq 0 ] || [ $1 != "clean" ]
|
|
#then
|
|
#make install
|
|
#fi
|
|
|
|
fi
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|