summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-12-29 00:58:58 +0000
committerTim Angus <tim@ngus.net>2005-12-29 00:58:58 +0000
commitb128225d7083486ed1566de5a76e602baeecc8a5 (patch)
treed447b04f9b2ccd0ac21e74b256e33c322abc9725 /src/tools
parent4f03afa80f3c26996b750c69781c00b0e7c2058f (diff)
* Merged ioq3-r451 into trunk
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/asm/Makefile1
-rw-r--r--src/tools/lcc/Makefile3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/asm/Makefile b/src/tools/asm/Makefile
index 0d64f14d..f03025ca 100644
--- a/src/tools/asm/Makefile
+++ b/src/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/src/tools/lcc/Makefile b/src/tools/lcc/Makefile
index 03e152c2..381b48ee 100644
--- a/src/tools/lcc/Makefile
+++ b/src/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)