From 85b16a6050111701725b7f6eb335da97cea23de1 Mon Sep 17 00:00:00 2001 From: tma Date: Thu, 29 Dec 2005 00:04:41 +0000 Subject: * Support for MinGW cross compilation git-svn-id: svn://svn.icculus.org/quake3/trunk@451 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/asm/Makefile | 1 - code/tools/lcc/Makefile | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'code/tools') 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) -- cgit v1.2.3