Fixups ...

This commit is contained in:
Themaister 2013-05-03 13:52:04 +02:00
parent dd476bd1ce
commit 41284639c0
2 changed files with 7 additions and 1 deletions

View File

@ -47,6 +47,8 @@ build_libretro_bsnes()
if [ -d "libretro-bsnes/perf" ]; then if [ -d "libretro-bsnes/perf" ]; then
echo "=== Building bSNES performance ===" echo "=== Building bSNES performance ==="
cd libretro-bsnes/perf/higan cd libretro-bsnes/perf/higan
rm -f obj/*.o
rm -f out/*.dll
$MAKE platform=win compiler="$CC" ui=target-libretro profile=performance -j$JOBS clean || die "Failed to clean bSNES performance core" $MAKE platform=win compiler="$CC" ui=target-libretro profile=performance -j$JOBS clean || die "Failed to clean bSNES performance core"
$MAKE platform=win compiler="$CC" ui=target-libretro profile=performance -j$JOBS || die "Failed to build bSNES performance core" $MAKE platform=win compiler="$CC" ui=target-libretro profile=performance -j$JOBS || die "Failed to build bSNES performance core"
cp -f out/retro.dll "$RARCH_DIST_DIR"/libretro-092-bsnes-performance.dll cp -f out/retro.dll "$RARCH_DIST_DIR"/libretro-092-bsnes-performance.dll
@ -58,6 +60,8 @@ build_libretro_bsnes()
if [ -d "libretro-bsnes/balanced" ]; then if [ -d "libretro-bsnes/balanced" ]; then
echo "=== Building bSNES balanced ===" echo "=== Building bSNES balanced ==="
cd libretro-bsnes/balanced/higan cd libretro-bsnes/balanced/higan
rm -f obj/*.o
rm -f out/*.dll
$MAKE platform=win compiler="$CC" ui=target-libretro profile=balanced -j$JOBS clean || die "Failed to clean bSNES balanced core" $MAKE platform=win compiler="$CC" ui=target-libretro profile=balanced -j$JOBS clean || die "Failed to clean bSNES balanced core"
$MAKE platform=win compiler="$CC" ui=target-libretro profile=balanced -j$JOBS || die "Failed to build bSNES balanced core" $MAKE platform=win compiler="$CC" ui=target-libretro profile=balanced -j$JOBS || die "Failed to build bSNES balanced core"
cp -f out/retro.dll "$RARCH_DIST_DIR"/libretro-092-bsnes-balanced.dll cp -f out/retro.dll "$RARCH_DIST_DIR"/libretro-092-bsnes-balanced.dll
@ -69,6 +73,8 @@ build_libretro_bsnes()
if [ -d "libretro-bsnes" ]; then if [ -d "libretro-bsnes" ]; then
echo "=== Building bSNES accuracy ===" echo "=== Building bSNES accuracy ==="
cd libretro-bsnes/higan cd libretro-bsnes/higan
rm -f obj/*.o
rm -f out/*.dll
$MAKE platform=win compiler="$CC" ui=target-libretro profile=accuracy -j$JOBS clean || die "Failed to clean bSNES accuracy core" $MAKE platform=win compiler="$CC" ui=target-libretro profile=accuracy -j$JOBS clean || die "Failed to clean bSNES accuracy core"
$MAKE platform=win compiler="$CC" ui=target-libretro profile=accuracy -j$JOBS || die "Failed to build bSNES accuracy core" $MAKE platform=win compiler="$CC" ui=target-libretro profile=accuracy -j$JOBS || die "Failed to build bSNES accuracy core"
cp -f out/retro.dll "$RARCH_DIST_DIR"/libretro-092-bsnes-accuracy.dll cp -f out/retro.dll "$RARCH_DIST_DIR"/libretro-092-bsnes-accuracy.dll

View File

@ -3,7 +3,7 @@
SCRIPT=$(readlink -f $0) SCRIPT=$(readlink -f $0)
BASE_DIR=$(dirname $SCRIPT) BASE_DIR=$(dirname $SCRIPT)
RARCH_DIR=$BASE_DIR/dist RARCH_DIR=$BASE_DIR/dist
RARCH_DIST_DIR=$RARCH_DIR/windows RARCH_DIST_DIR=$RARCH_DIR/pc
if [ -z "$1" ]; then if [ -z "$1" ]; then
LIBRETRO_DIR="/usr/local/lib/libretro" LIBRETRO_DIR="/usr/local/lib/libretro"