win32build.sh 485 B

12345678910111213
  1. #!/bin/sh
  2. # This file has been dedicated to the public domain, to the extent
  3. # possible under applicable law, via CC0. See
  4. # http://creativecommons.org/publicdomain/zero/1.0/ for more
  5. # information. This file is offered as-is, without any warranty.
  6. #
  7. # Helper script to cross-compile for Windows with MXE.
  8. # Note: Before running, be sure to add the MXE usr/bin location to PATH.
  9. ./configure --host=i686-w64-mingw32.static SF_RUN_IN_PLACE=1 SF_UNHARDEN=1
  10. make
  11. mv src/starfighter.exe .