aboutsummaryrefslogtreecommitdiffstats
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-05-29 19:22:24 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-05-29 19:22:24 +0000
commit115d513db8615c67aba87278115dfb416a32e29a (patch)
tree4d5e3e546d61350e71dfeb15a4d91db9c0844f03 /cross-make-mingw.sh
parentd28ebff56e669b04b2591f3e5b19f054d5fd955e (diff)
downloadioquake3-aero-115d513db8615c67aba87278115dfb416a32e29a.tar.gz
ioquake3-aero-115d513db8615c67aba87278115dfb416a32e29a.zip
* Allow CC to be overridden externally to the Makefile
* Make cross-make-mingw.sh more generic using the above * Update README to reflect changes * Fix a couple of warnings in the Windows input layer git-svn-id: svn://svn.icculus.org/quake3/trunk@1090 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'cross-make-mingw.sh')
-rwxr-xr-xcross-make-mingw.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/cross-make-mingw.sh b/cross-make-mingw.sh
index bb9c23e..c6dbe37 100755
--- a/cross-make-mingw.sh
+++ b/cross-make-mingw.sh
@@ -1,8 +1,6 @@
#!/bin/sh
-PREFIX=/usr/local/cross-tools
-TARGET=i386-mingw32msvc
-PATH="$PREFIX/bin:$PREFIX/$TARGET/bin:$PATH"
-export PATH
+export CC=i586-mingw32msvc-gcc
+export WINDRES=i586-mingw32msvc-windres
export PLATFORM=mingw32
exec make $*