41 lines
1.2 KiB
Bash
Executable File
41 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
# This script does for linux the same as build.bat for DOS
|
|
|
|
mkdir ./zSea_bin
|
|
mkdir ./zSea_bin/buttons
|
|
mkdir ./zSea_bin/plugins
|
|
|
|
echo "lang fix en_US"
|
|
echo "lang fix en_US" > ./lang.inc
|
|
fasm -m 16384 ./zSea.asm ./zSea_bin/zSea
|
|
kpack ./zSea_bin/zSea
|
|
|
|
fasm -m 16384 ./plugins/bmp/cnv_bmp.asm ./zSea_bin/plugins/cnv_bmp.obj
|
|
kpack ./zSea_bin/plugins/cnv_bmp.obj
|
|
|
|
fasm -m 16384 ./plugins/convert/convert.asm ./zSea_bin/plugins/convert.obj
|
|
kpack ./zSea_bin/plugins/convert.obj
|
|
|
|
fasm -m 16384 ./plugins/gif/cnv_gif.asm ./zSea_bin/plugins/cnv_gif.obj
|
|
kpack ./zSea_bin/plugins/cnv_gif.obj
|
|
|
|
fasm -m 16384 ./plugins/jpeg/cnv_jpeg.asm ./zSea_bin/plugins/cnv_jpeg.obj
|
|
kpack ./zSea_bin/plugins/cnv_jpeg.obj
|
|
|
|
fasm -m 16384 ./plugins/png/cnv_png.asm ./zSea_bin/plugins/cnv_png.obj
|
|
kpack ./zSea_bin/plugins/cnv_png.obj
|
|
|
|
fasm -m 16384 ./plugins/rotate/rotate.asm ./zSea_bin/plugins/rotate.obj
|
|
kpack ./zSea_bin/plugins/rotate.obj
|
|
|
|
fasm -m 16384 ./plugins/scaling/scaling.asm ./zSea_bin/plugins/scaling.obj
|
|
kpack ./zSea_bin/plugins/scaling.obj
|
|
|
|
cp ./zSea.ini ./zSea_bin/zSea.ini
|
|
cp ./Docs/zSea_keys.txt ./zSea_bin/zSea_keys.txt
|
|
cp ./buttons.png ./zSea_bin/buttons/buttons.png
|
|
|
|
rm -f lang.inc
|
|
read
|
|
exit 0
|