RetroArch/dist-scripts/xdk360-cores.sh
2015-09-01 16:46:28 +02:00

15 lines
402 B
Bash

#!/bin/sh
PLATFORM=xdk360
mkdir -p ../msvc/RetroArch-360/Debug
mkdir -p ../msvc/RetroArch-360/Release
mkdir -p ../msvc/RetroArch-360/Release_LTCG
for f in *_${PLATFORM}.lib ; do
name=`echo "$f" | sed "s/\(_libretro_${PLATFORM}\|\).lib$//"`
echo $name
cp -f "$f" ../msvc/RetroArch-360/Release_LTCG/libretro_${PLATFORM}.lib
cmd.exe /k ${PLATFORM}_env.bat ${name}_libretro_${PLATFORM}
done