Add building of Cairo-less 2048 for libretro-build.sh (UNIX)

This commit is contained in:
twinaphex 2014-07-29 17:04:07 +02:00
parent ec3cffe81b
commit 438e60e7c2
2 changed files with 16 additions and 0 deletions

View File

@ -344,6 +344,21 @@ build_libretro_beetle_snes()
fi
}
build_libretro_2048()
{
cd "${BASE_DIR}"
if [ -d 'libretro-2048' ]; then
echo '=== Building 2048 ==='
cd libretro-2048
"${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean 2048"
"${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build 2048"
cp "2048_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo '2048 not fetched, skipping ...'
fi
}
build_libretro_fmsx()
{
cd "${BASE_DIR}"

View File

@ -94,6 +94,7 @@ mkdir -p "$RARCH_DIST_DIR"
if [ $1 ]; then
$1
else
build_libretro_2048
build_libretro_bluemsx
build_libretro_fmsx
build_libretro_bsnes_cplusplus98