From 79b85d2cedb317ab8d66622418261f0374ff731c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 13 Jan 2014 14:58:11 +0100 Subject: [PATCH] Add libretro_3dengine to libretro-build.sh --- libretro-build-common.sh | 14 ++++++++++++++ libretro-build.sh | 1 + 2 files changed, 15 insertions(+) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index ad1c66ee..d12903ee 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -488,6 +488,20 @@ build_libretro_modelviewer_location() { fi } +build_libretro_3dengine() { + cd "${BASE_DIR}" + if [ -d 'libretro-3dengine' ]; then + echo '=== Building 3DEngine (GL) ===' + cd libretro-3dengine + + "${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean SceneWalker' + "${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build SceneWalker' + cp "3dengine_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}" + else + echo '3DEngine not fetched, skipping ...' + fi +} + build_libretro_scenewalker() { cd "${BASE_DIR}" if [ -d 'libretro-gl-scenewalker' ]; then diff --git a/libretro-build.sh b/libretro-build.sh index 34402a9f..9c06b07f 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -135,4 +135,5 @@ else build_libretro_mupen64 build_libretro_ffmpeg build_libretro_dinothawr + build_libretro_3dengine fi