diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 6ef160fb..9e3dd579 100644 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -381,6 +381,20 @@ build_libretro_prboom() fi } +build_libretro_dinothawr() +{ + cd "$BASE_DIR" + if [ -d "libretro-dinothawr" ]; then + echo "=== Building Dinothawr ===" + cd libretro-dinothawr + ${MAKE} platform=${FORMAT_COMPILER_TARGET_ALT} $COMPILER -j$JOBS clean || die "Failed to clean Dinothawr" + ${MAKE} platform=${FORMAT_COMPILER_TARGET_ALT} $COMPILER -j$JOBS || die "Failed to build Dinothawr" + cp dinothawr_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR" + else + echo "Dinothawr not fetched, skipping ..." + fi +} + build_libretro_meteor() { cd "$BASE_DIR" diff --git a/libretro-build.sh b/libretro-build.sh index bcbc1543..3105292c 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -123,4 +123,5 @@ if [ -z $BUILD_EXPERIMENTAL ]; then build_libretro_mupen64 fi build_libretro_ffmpeg + build_libretro_dinothawr fi