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
This commit is contained in:
Jon Maddox 2013-03-25 09:17:56 -04:00
parent 71c14a53e1
commit c04d96a59b
2 changed files with 40 additions and 0 deletions

21
ios/script/cores/nestopia Executable file
View File

@ -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 ../../../

19
ios/script/cores/snes9x_next Executable file
View File

@ -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 ../../