1#!/bin/sh 2 3TARGET=i686-w64-mingw32 4INSTALL_PATH=/usr/local/$TARGET 5export PATH=$PATH:/usr/local/bin 6 7make -f win32/Makefile.gcc \ 8 SHARED_MODE=1 \ 9 LDFLAGS=-static-libgcc \ 10 PREFIX=$TARGET- \ 11 prefix=$INSTALL_PATH \ 12 BINARY_PATH=$INSTALL_PATH/bin \ 13 INCLUDE_PATH=$INSTALL_PATH/include \ 14 LIBRARY_PATH=$INSTALL_PATH/lib $* 15