Add bsnes C++98 to compilation

This commit is contained in:
twinaphex 2013-12-15 20:38:44 +01:00
parent 6063561710
commit 77ee35a4e9
2 changed files with 15 additions and 0 deletions

View File

@ -40,6 +40,20 @@ check_opengl() {
fi
}
build_libretro_bsnes_cplusplus98() {
cd "${BASE_DIR}"
if [ -d 'libretro-bsnes-cplusplus98' ]; then
echo '=== Building bSNES C++98 ==='
cd libretro-bsnes-cplusplus98
"${MAKE}" clean || die 'Failed to clean bSNES C++98'
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}"
cp "out/libretro.${FORMAT_EXT}" "${RARCH_DIST_DIR}/bsnes_cplusplus98.${FORMAT_EXT}"
else
echo 'bSNES C++98 not fetched, skipping ...'
fi
}
build_libretro_ffmpeg() {
cd "${BASE_DIR}"
if [ -d 'libretro-ffmpeg' ]; then

View File

@ -89,6 +89,7 @@ mkdir -p "$RARCH_DIST_DIR"
if [ $1 ]; then
$1
else
build_libretro_bsnes_cplusplus98
build_libretro_bsnes
build_libretro_mednafen
build_libretro_mednafen_gba