mirror of
https://github.com/digarok/flapple.git
synced 2024-06-16 11:29:27 +00:00
20 lines
444 B
Bash
20 lines
444 B
Bash
|
#!/bin/bash
|
||
|
merlin32 -V . src/flapple.s
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "Assembly Failed. Exiting." ; exit 1
|
||
|
fi
|
||
|
|
||
|
|
||
|
#second time with different build flags (MONO=1)
|
||
|
sed -i.bak "s/^MONO\(.*\)equ.*/MONO\1equ 1/g" src/flapple.s
|
||
|
merlin32 -V . src/flapple.s
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "Assembly Failed. Exiting." ; exit 1
|
||
|
fi
|
||
|
|
||
|
#revert file to original state (MONO=0)
|
||
|
sed -i.bak "s/^MONO\(.*\)equ.*/MONO\1equ 0/g" src/flapple.s
|
||
|
|
||
|
./make_po.sh
|
||
|
gsplus
|