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-03-12 10:35:54 +00:00
|
|
|
libretro_build_core bluemsx
|
|
|
|
libretro_build_core fceumm
|
|
|
|
libretro_build_core fmsx
|
|
|
|
libretro_build_core gambatte
|
|
|
|
libretro_build_core genesis_plus_gx
|
|
|
|
libretro_build_core mednafen_bsnes
|
|
|
|
libretro_build_core mednafen_gba
|
|
|
|
libretro_build_core mednafen_lynx
|
|
|
|
libretro_build_core mednafen_ngp
|
|
|
|
libretro_build_core mednafen_pce_fast
|
|
|
|
libretro_build_core mednafen_pcfx
|
|
|
|
libretro_build_core mednafen_psx
|
|
|
|
libretro_build_core mednafen_supergrafx
|
|
|
|
libretro_build_core mednafen_vb
|
|
|
|
libretro_build_core mednafen_wswan
|
|
|
|
libretro_build_core nestopia
|
|
|
|
libretro_build_core nxengine
|
|
|
|
libretro_build_core prboom
|
|
|
|
libretro_build_core quicknes
|
|
|
|
libretro_build_core snes9x_next
|
|
|
|
libretro_build_core tyrquake
|
|
|
|
libretro_build_core vba_next
|
|
|
|
#libretro_build_core yabause
|
|
|
|
|
|
|
|
build_libretro_fba # not in libretro-build-common!
|
2013-05-03 15:22:09 +00:00
|
|
|
fi
|