2015-02-17 03:19:30 +00:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
# vim: set ts=3 sw=3 noet ft=sh : bash
|
2013-02-09 20:31:28 +00:00
|
|
|
|
2015-02-23 07:58:58 +00:00
|
|
|
SCRIPT="${0#./}"
|
|
|
|
BASE_DIR="${SCRIPT%/*}"
|
|
|
|
WORKDIR="$PWD"
|
|
|
|
|
|
|
|
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
|
|
|
BASE_DIR="$WORKDIR"
|
|
|
|
else
|
|
|
|
if [[ "$0" != /* ]]; then
|
|
|
|
# Make the path absolute
|
|
|
|
BASE_DIR="$WORKDIR/$BASE_DIR"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2013-04-29 21:10:43 +00:00
|
|
|
RARCH_DIR=$BASE_DIR/dist
|
|
|
|
RARCH_DIST_DIR=$RARCH_DIR/wii
|
2013-02-09 20:31:28 +00:00
|
|
|
FORMAT=_wii
|
|
|
|
FORMAT_COMPILER_TARGET=wii
|
2013-04-29 21:10:43 +00:00
|
|
|
FORMAT_COMPILER_TARGET_ALT=wii
|
2013-04-30 04:35:47 +00:00
|
|
|
FORMAT_EXT=a
|
2013-02-09 20:31:28 +00:00
|
|
|
JOBS=7
|
2013-05-18 23:40:51 +00:00
|
|
|
MAKE=make
|
2013-02-09 20:31:28 +00:00
|
|
|
|
2015-02-23 07:58:58 +00:00
|
|
|
. "$BASE_DIR/libretro-build-common-gx.sh"
|
|
|
|
. "$BASE_DIR/libretro-build-common.sh"
|
2013-03-01 16:44:21 +00:00
|
|
|
|
2013-05-03 15:22:09 +00:00
|
|
|
if [ $1 ]; then
|
2015-02-17 03:19:30 +00:00
|
|
|
$1
|
2013-05-03 15:22:09 +00:00
|
|
|
else
|
2015-02-17 03:19:30 +00:00
|
|
|
build_libretro_bluemsx
|
|
|
|
build_libretro_fmsx
|
|
|
|
build_libretro_beetle_lynx
|
|
|
|
build_libretro_beetle_gba
|
|
|
|
build_libretro_beetle_ngp
|
|
|
|
build_libretro_beetle_pce_fast
|
|
|
|
build_libretro_beetle_supergrafx
|
|
|
|
build_libretro_beetle_pcfx
|
|
|
|
build_libretro_beetle_psx
|
|
|
|
build_libretro_beetle_vb
|
|
|
|
build_libretro_beetle_wswan
|
|
|
|
build_libretro_beetle_bsnes
|
|
|
|
build_libretro_snes9x_next
|
|
|
|
build_libretro_genesis_plus_gx
|
|
|
|
build_libretro_fba
|
|
|
|
build_libretro_vba_next
|
|
|
|
build_libretro_fceumm
|
|
|
|
build_libretro_gambatte
|
|
|
|
build_libretro_nx
|
|
|
|
build_libretro_prboom
|
|
|
|
build_libretro_quicknes
|
|
|
|
build_libretro_nestopia
|
|
|
|
build_libretro_tyrquake
|
|
|
|
#build_libretro_yabause
|
2013-05-03 15:22:09 +00:00
|
|
|
fi
|