mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +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-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 $*
|
||||
|
|
Loading…
Reference in a new issue