aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-02 21:11:46 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-02 21:11:46 +0000
commitc956a99090e317d1cbee3c2d5e904736d5821338 (patch)
treeaddca17e64528f5af0076d8f7f85deb7dab48d1c /code/unix
parent122fe646235067bae2a620f877a6d76af067d7f3 (diff)
downloadioquake3-aero-c956a99090e317d1cbee3c2d5e904736d5821338.tar.gz
ioquake3-aero-c956a99090e317d1cbee3c2d5e904736d5821338.zip
Another patch from gladiac, cleans up the makefile a little.
git-svn-id: svn://svn.icculus.org/quake3/trunk@68 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r--code/unix/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index 6e428b1..a242852 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -19,16 +19,7 @@
PLATFORM=$(shell uname|tr A-Z a-z)
PLATFORM_RELEASE=$(shell uname -r)
-ARCH=$(shell uname -m)
-ifeq ($(ARCH),i486)
-ARCH=i386
-endif
-ifeq ($(ARCH),i586)
-ARCH=i386
-endif
-ifeq ($(ARCH),i686)
-ARCH=i386
-endif
+ARCH:=$(shell uname -m | sed -e s/i.86/i386/)
###
### These paths are where you probably want to change things