diff --git a/ios/script/cores/nestopia b/ios/script/cores/nestopia new file mode 100755 index 0000000000..cace20b526 --- /dev/null +++ b/ios/script/cores/nestopia @@ -0,0 +1,21 @@ +#!/bin/sh + +cd tmp + +if [ -d "nestopia" ] +then + echo "Updating Nestopia" + cd nestopia + git pull origin master +else + git clone git@github.com:libretro/nestopia.git + cd nestopia +fi + +cd libretro + +echo "Building Nestopia" +make clean +make -f Makefile platform=ios +mv nestopia_libretro.dylib ../../../modules +cd ../../../ diff --git a/ios/script/cores/snes9x_next b/ios/script/cores/snes9x_next new file mode 100755 index 0000000000..ebe8201fb8 --- /dev/null +++ b/ios/script/cores/snes9x_next @@ -0,0 +1,19 @@ +#!/bin/sh + +cd tmp + +if [ -d "snes9x-next" ] +then + echo "Updating Snes9x-next" + cd snes9x-next + git pull origin master +else + git clone git@github.com:libretro/snes9x-next.git + cd snes9x-next +fi + +echo "Building Snes9x-next" +make -f Makefile.libretro clean +make -f Makefile.libretro platform=ios +mv snes9x_next_libretro.dylib ../../modules +cd ../../