mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-14 00:50:38 +00:00
00846e545d
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1181 af15c1b1-3010-417e-b628-4374ebc0bcbd
21 lines
460 B
Bash
Executable file
21 lines
460 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Change this script to meet your needs and/or environment.
|
|
|
|
TARGET=i686-w64-mingw32
|
|
PREFIX=/opt/cross_win32
|
|
|
|
PATH="$PREFIX/bin:$PATH"
|
|
export PATH
|
|
|
|
MAKE_CMD=make
|
|
|
|
CC="$TARGET-gcc"
|
|
AS="$TARGET-as"
|
|
RANLIB="$TARGET-ranlib"
|
|
AR="$TARGET-ar"
|
|
WINDRES="$TARGET-windres"
|
|
STRIP="$TARGET-strip"
|
|
export PATH CC AS AR RANLIB WINDRES STRIP
|
|
|
|
exec $MAKE_CMD USE_SDL2=1 WINSOCK2=1 CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w32 $*
|