RetroArch/dist-scripts/wii-cores.sh

16 lines
500 B
Bash
Raw Normal View History

#!/bin/sh
2013-02-02 02:41:33 +00:00
make -C ../ -f Makefile.wii.salamander clean || exit 1
make -C ../ -f Makefile.wii clean || exit 1
2013-02-02 02:41:33 +00:00
make -C ../ -f Makefile.wii.salamander || exit 1
make -C ../ -f Makefile.wii.salamander pkg || exit 1
for f in *_wii.a ; do
name=`echo "$f" | sed 's/\(_libretro\|\)_wii.a$//'`
2013-02-01 22:29:04 +00:00
cp -f "$f" ../libretro_wii.a
make -C ../ -f Makefile.wii -j3 || exit 1
2013-02-02 02:41:33 +00:00
mv -f ../retroarch_wii.dol ../wii/pkg/$name.dol
rm -f ../retroarch_wii.dol ../retroarch_wii.elf ../retroarch_wii.elf.map
done