mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
23 lines
755 B
Bash
23 lines
755 B
Bash
#!/bin/sh
|
|
|
|
platform=xdk1
|
|
|
|
ip='192.168.178.227'
|
|
|
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Debug
|
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release
|
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release_LTCG
|
|
|
|
for f in *_${platform}.lib ; do
|
|
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
|
|
echo $name
|
|
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
|
|
echo "Applying whole archive linking for this core..."
|
|
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${platform}.lib
|
|
cmd.exe /k ${platform}_env_bigstack.bat ${name}_libretro_${platform}
|
|
else
|
|
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG/libretro_${platform}.lib
|
|
cmd.exe /k ${platform}_env.bat ${name}_libretro_${platform}
|
|
fi
|
|
done
|