mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-13 00:34:11 +00:00
update mingw build script for my pc
This commit is contained in:
parent
ed18fc95eb
commit
8402a5aac0
1 changed files with 9 additions and 9 deletions
|
@ -6,20 +6,20 @@
|
||||||
#TARGET=i686-w64-mingw32
|
#TARGET=i686-w64-mingw32
|
||||||
TARGET=i686-pc-mingw32
|
TARGET=i686-pc-mingw32
|
||||||
#PREFIX=/opt/cross_win32
|
#PREFIX=/opt/cross_win32
|
||||||
PREFIX=/usr/local/cross-win32
|
PREFIX=/
|
||||||
|
|
||||||
PATH="$PREFIX/bin:$PATH"
|
PATH="/c/MinGW/bin:$PATH"
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
MAKE_CMD=make
|
MAKE_CMD=make
|
||||||
|
|
||||||
SDL_CONFIG=/usr/local/sdl_w32/bin/sdl-config
|
SDL_CONFIG=/c/SDL-1.2.15/bin/sdl-config
|
||||||
CC="$TARGET-gcc"
|
CC="gcc"
|
||||||
AS="$TARGET-as"
|
AS="as"
|
||||||
RANLIB="$TARGET-ranlib"
|
RANLIB="ranlib"
|
||||||
AR="$TARGET-ar"
|
AR="ar"
|
||||||
WINDRES="$TARGET-windres"
|
WINDRES="windres"
|
||||||
STRIP="$TARGET-strip"
|
STRIP="strip"
|
||||||
export PATH CC AS AR RANLIB WINDRES 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 $*
|
exec $MAKE_CMD SDL_CONFIG=$SDL_CONFIG CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w32 $*
|
||||||
|
|
Loading…
Reference in a new issue