From c04d96a59bfd6fa582d63178650b756246e1028c Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Mon, 25 Mar 2013 09:17:56 -0400 Subject: [PATCH] nestopia and snes9x-next build scripts These get built in a tmp directory under ios. Steps: * Clone (or pull master) repo * build core * move core to modules directory --- ios/script/cores/nestopia | 21 +++++++++++++++++++++ ios/script/cores/snes9x_next | 19 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100755 ios/script/cores/nestopia create mode 100755 ios/script/cores/snes9x_next 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 ../../