2015-02-16 19:19:30 -08:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
# vim: set ts=3 sw=3 noet ft=sh : bash
|
2013-02-13 00:09:23 +01:00
|
|
|
|
2015-02-22 23:58:58 -08: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 23:10:43 +02:00
|
|
|
RARCH_DIR=$BASE_DIR/dist
|
|
|
|
RARCH_DIST_DIR=$RARCH_DIR/ngc
|
2013-02-13 00:09:23 +01:00
|
|
|
FORMAT=_ngc
|
|
|
|
FORMAT_COMPILER_TARGET=ngc
|
2013-04-29 23:10:43 +02:00
|
|
|
FORMAT_COMPILER_TARGET_ALT=ngc
|
2013-04-30 06:35:47 +02:00
|
|
|
FORMAT_EXT=a
|
2013-02-13 00:09:23 +01:00
|
|
|
JOBS=7
|
2013-05-19 01:40:51 +02:00
|
|
|
MAKE=make
|
2013-02-13 00:09:23 +01:00
|
|
|
|
2015-02-22 23:58:58 -08:00
|
|
|
. "$BASE_DIR/libretro-build-common-gx.sh"
|
|
|
|
. "$BASE_DIR/libretro-build-common.sh"
|
2013-03-01 17:44:21 +01:00
|
|
|
|
2013-05-03 17:22:09 +02:00
|
|
|
if [ $1 ]; then
|
2015-02-16 19:19:30 -08:00
|
|
|
$1
|
2013-05-03 17:22:09 +02:00
|
|
|
else
|
2015-03-12 03:35:54 -07: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_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 17:22:09 +02:00
|
|
|
fi
|