You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bomberclone/tools/cross-mingw32-linux.sh

17 lines
425 B

#!/bin/sh
# to use this please read http://www.libsdl.org/extras/win32/cross/README.txt
# from there i have got all this.
PREFIX=/usr/local/cross-tools
TARGET=i386-mingw32msvc
PATH="$PREFIX/bin:$PREFIX/$TARGET/bin:$PATH"
export PATH
# configure
sh configure --target=$TARGET --host=$TARGET --build=i386-linux $*
rm -rf src/bomberclone.exe
exec make $*
mv src/bomberclone src/bomberclone.exe
exec strip src/bomberclone.exe