summaryrefslogtreecommitdiff
path: root/src/master/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/master/Makefile')
-rw-r--r--src/master/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/master/Makefile b/src/master/Makefile
index 0e953bc3..df2deed4 100644
--- a/src/master/Makefile
+++ b/src/master/Makefile
@@ -1,7 +1,5 @@
-ARCH=$(shell uname -m | sed -e s/i.86/i386/)
-PLATFORM=$(shell uname|sed -e s/_.*//|tr A-Z a-z)
-BD_DEBUG=debug-$(ARCH)$(PLATFORM)
-BD_RELEASE=release-$(ARCH)$(PLATFORM)
+BD_DEBUG=debug-$(PLATFORM)-$(ARCH)
+BD_RELEASE=release-$(PLATFORM)-$(ARCH)
ifeq ($(PLATFORM),mingw32)
BINEXT=.exe
@@ -49,4 +47,4 @@ makedirs:
@if [ ! -d $(BD_RELEASE) ];then $(MKDIR) $(BD_RELEASE);fi
@if [ ! -d $(BD_DEBUG) ];then $(MKDIR) $(BD_DEBUG);fi
-.PHONY: all clean
+.PHONY: all clean release debug makedirs