pcsx2/build.sh
zerofrog df521ae24f 0.9.4 release
git-svn-id: http://pcsx2.googlecode.com/svn/branches/pcsx2_0.9.4@186 96395faa-99c1-11dd-bbfe-3dabce05a288
2007-11-11 02:55:00 +00:00

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