mirror of
https://github.com/libretro/libretro-super.git
synced 2024-12-13 11:06:01 +00:00
Merge pull request #86 from l3iggs/patch-1
adding NOCLEAN support for bsnes builds
This commit is contained in:
commit
96e06eb5e2
@ -990,7 +990,9 @@ build_libretro_bsnes_mercury() {
|
||||
echo '=== Building bSNES Mercury performance ==='
|
||||
cd libretro-bsnes-mercury/perf
|
||||
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
rm -f obj/*.{o,"${FORMAT_EXT}"}
|
||||
fi
|
||||
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" compiler="${CXX11}" ui='target-libretro' profile='performance' "-j${JOBS}" || die 'Failed to build bSNES Mercury performance core'
|
||||
cp -f "out/bsnes_mercury_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/bsnes_mercury_performance_libretro${FORMAT}.${FORMAT_EXT}"
|
||||
else
|
||||
@ -1002,7 +1004,9 @@ build_libretro_bsnes_mercury() {
|
||||
echo '=== Building bSNES Mercury balanced ==='
|
||||
cd libretro-bsnes-mercury/balanced
|
||||
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
rm -f obj/*.{o,"${FORMAT_EXT}"}
|
||||
fi
|
||||
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" compiler="${CXX11}" ui='target-libretro' profile='balanced' "-j${JOBS}" || die 'Failed to build bSNES Mercury balanced core'
|
||||
cp -f "out/bsnes_mercury_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/bsnes_mercury_balanced_libretro${FORMAT}.${FORMAT_EXT}"
|
||||
else
|
||||
@ -1014,7 +1018,9 @@ build_libretro_bsnes_mercury() {
|
||||
echo '=== Building bSNES Mercury accuracy ==='
|
||||
cd libretro-bsnes-mercury
|
||||
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
rm -f obj/*.{o,"${FORMAT_EXT}"}
|
||||
fi
|
||||
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" compiler="${CXX11}" ui='target-libretro' profile='accuracy' "-j${JOBS}" || die 'Failed to build bSNES Mercury accuracy core'
|
||||
cp -f "out/bsnes_mercury_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/bsnes_mercury_accuracy_libretro${FORMAT}.${FORMAT_EXT}"
|
||||
else
|
||||
@ -1028,7 +1034,9 @@ build_libretro_bsnes() {
|
||||
echo '=== Building bSNES performance ==='
|
||||
cd libretro-bsnes/perf
|
||||
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
rm -f obj/*.{o,"${FORMAT_EXT}"}
|
||||
fi
|
||||
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" compiler="${CXX11}" ui='target-libretro' profile='performance' "-j${JOBS}" || die 'Failed to build bSNES performance core'
|
||||
cp -f "out/bsnes_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/bsnes_performance_libretro${FORMAT}.${FORMAT_EXT}"
|
||||
else
|
||||
@ -1040,7 +1048,9 @@ build_libretro_bsnes() {
|
||||
echo '=== Building bSNES balanced ==='
|
||||
cd libretro-bsnes/balanced
|
||||
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
rm -f obj/*.{o,"${FORMAT_EXT}"}
|
||||
fi
|
||||
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" compiler="${CXX11}" ui='target-libretro' profile='balanced' "-j${JOBS}" || die 'Failed to build bSNES balanced core'
|
||||
cp -f "out/bsnes_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/bsnes_balanced_libretro${FORMAT}.${FORMAT_EXT}"
|
||||
else
|
||||
@ -1051,8 +1061,9 @@ build_libretro_bsnes() {
|
||||
if [ -d 'libretro-bsnes' ]; then
|
||||
echo '=== Building bSNES accuracy ==='
|
||||
cd libretro-bsnes
|
||||
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
rm -f obj/*.{o,"${FORMAT_EXT}"}
|
||||
fi
|
||||
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" compiler="${CXX11}" ui='target-libretro' profile='accuracy' "-j${JOBS}" || die 'Failed to build bSNES accuracy core'
|
||||
cp -f "out/bsnes_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/bsnes_accuracy_libretro${FORMAT}.${FORMAT_EXT}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user