aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools/lcc/Makefile')
-rw-r--r--code/tools/lcc/Makefile3
1 files changed, 1 insertions, 2 deletions
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)