aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-29 00:04:41 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-29 00:04:41 +0000
commit85b16a6050111701725b7f6eb335da97cea23de1 (patch)
tree6cfe5acc5c1d998ecf16a8298a0c8200b1393ec0 /code/tools
parent36fa51ec1544557d4ce722e1fadf97bbea7b4d5b (diff)
downloadioquake3-aero-85b16a6050111701725b7f6eb335da97cea23de1.tar.gz
ioquake3-aero-85b16a6050111701725b7f6eb335da97cea23de1.zip
* Support for MinGW cross compilation
git-svn-id: svn://svn.icculus.org/quake3/trunk@451 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools')
-rw-r--r--code/tools/asm/Makefile1
-rw-r--r--code/tools/lcc/Makefile3
2 files changed, 1 insertions, 3 deletions
diff --git a/code/tools/asm/Makefile b/code/tools/asm/Makefile
index 0d64f14..f03025c 100644
--- a/code/tools/asm/Makefile
+++ b/code/tools/asm/Makefile
@@ -1,6 +1,5 @@
# yeah, couldn't do more simple really
-PLATFORM=$(shell uname|sed -e s/_.*//|tr A-Z a-z)
ifeq ($(PLATFORM),mingw32)
BINEXT=.exe
else
diff --git a/code/tools/lcc/Makefile b/code/tools/lcc/Makefile
index 03e152c..381b48e 100644
--- a/code/tools/lcc/Makefile
+++ b/code/tools/lcc/Makefile
@@ -1,4 +1,3 @@
-PLATFORM=$(shell uname|sed -e s/_.*//|tr A-Z a-z)
TEMPDIR=/tmp
A=.a
O=.o
@@ -19,7 +18,7 @@ RANLIB=ranlib
DIFF=diff
RM=rm -f
RMDIR=rmdir
-BUILDDIR=build
+BUILDDIR=build-$(PLATFORM)-$(ARCH)
BD=$(BUILDDIR)/
ifeq ($(USE_CCACHE),1)