update mingw build script for my pc

This commit is contained in:
Eric Wasylishen 2014-05-22 11:05:44 -07:00
parent ed18fc95eb
commit 8402a5aac0

View file

@ -6,20 +6,20 @@
#TARGET=i686-w64-mingw32
TARGET=i686-pc-mingw32
#PREFIX=/opt/cross_win32
PREFIX=/usr/local/cross-win32
PREFIX=/
PATH="$PREFIX/bin:$PATH"
PATH="/c/MinGW/bin:$PATH"
export PATH
MAKE_CMD=make
SDL_CONFIG=/usr/local/sdl_w32/bin/sdl-config
CC="$TARGET-gcc"
AS="$TARGET-as"
RANLIB="$TARGET-ranlib"
AR="$TARGET-ar"
WINDRES="$TARGET-windres"
STRIP="$TARGET-strip"
SDL_CONFIG=/c/SDL-1.2.15/bin/sdl-config
CC="gcc"
AS="as"
RANLIB="ranlib"
AR="ar"
WINDRES="windres"
STRIP="strip"
export PATH CC AS AR RANLIB WINDRES STRIP
exec $MAKE_CMD SDL_CONFIG=$SDL_CONFIG CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w32 $*