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.
|
- #!/bin/bash
-
- set -e
-
- # Preparation
- _FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror"
- _PREFIX=i686-w64-mingw32
- export AR=${_PREFIX}-ar
- export CC=${_PREFIX}-gcc
- export CXX=${_PREFIX}-g++
- export CFLAGS="${_FLAGS}"
- export CXXFLAGS="${_FLAGS}"
- export PATH=/opt/mingw32/${_PREFIX}/bin:/opt/mingw32/bin:${PATH}
- export PKG_CONFIG_PATH=/opt/mingw32/lib/pkgconfig:${PKG_CONFIG_PATH}
-
- # Start clean
- make distclean >/dev/null
-
- # Print available features
- make features
-
- # Build native stuff
- make BUILDING_FOR_WINDOWS=true
|