diff options
Diffstat (limited to 'code/tools')
-rw-r--r-- | code/tools/asm/Makefile | 1 | ||||
-rw-r--r-- | code/tools/lcc/Makefile | 3 |
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) |