2013-02-17 04:35:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-09-01 14:46:28 +00:00
|
|
|
PLATFORM=xdk
|
2013-02-17 04:35:48 +00:00
|
|
|
|
2015-09-01 14:46:28 +00:00
|
|
|
ip='192.168.1.10'
|
2013-02-17 04:35:48 +00:00
|
|
|
|
|
|
|
mkdir -p ../msvc/RetroArch-Xbox1/Debug
|
|
|
|
mkdir -p ../msvc/RetroArch-Xbox1/Release
|
|
|
|
mkdir -p ../msvc/RetroArch-Xbox1/Release_LTCG
|
|
|
|
|
2015-09-01 14:46:28 +00:00
|
|
|
for f in *_${PLATFORM}.lib ; do
|
|
|
|
name=`echo "$f" | sed "s/\(_libretro_${PLATFORM}\|\).lib$//"`
|
2013-02-17 04:35:48 +00:00
|
|
|
echo $name
|
2013-06-03 00:45:24 +00:00
|
|
|
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
|
2014-04-17 16:10:04 +00:00
|
|
|
echo "Applying whole archive linking for this core..."
|
2015-09-01 14:46:28 +00:00
|
|
|
cp -f "$f" ../msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${PLATFORM}.lib
|
2013-11-02 03:36:30 +00:00
|
|
|
cmd.exe /k xdk1_env_bigstack.bat ${name}_libretro_xdk1
|
2013-04-21 20:15:49 +00:00
|
|
|
else
|
2015-09-01 14:46:28 +00:00
|
|
|
cp -f "$f" ../msvc/RetroArch-Xbox1/Release_LTCG/libretro_${PLATFORM}.lib
|
2013-11-02 03:36:30 +00:00
|
|
|
cmd.exe /k xdk1_env.bat ${name}_libretro_xdk1
|
2013-04-21 20:15:49 +00:00
|
|
|
fi
|
2013-02-17 04:35:48 +00:00
|
|
|
done
|