#!/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