From 115d513db8615c67aba87278115dfb416a32e29a Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 29 May 2007 19:22:24 +0000 Subject: * 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 --- cross-make-mingw.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cross-make-mingw.sh') 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 $* -- cgit v1.2.3