summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-02 17:34:15 +0000
committerrsc <devnull@localhost>2004-03-02 17:34:15 +0000
commit8f314994dbcc11b2d8397535ce8b0cf9d84150d0 (patch)
tree073d6711e464fc28770e1b450223b5b8cd4b447e /src/Makefile
parent53dbac948575b07e95d184bbfbe4d8953c5ccc4c (diff)
downloadplan9port-8f314994dbcc11b2d8397535ce8b0cf9d84150d0.tar.gz
plan9port-8f314994dbcc11b2d8397535ce8b0cf9d84150d0.zip
More Mac tweaks.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 1c8010d4..7fe300ba 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,6 @@
../bin/mk: mkmk.sh
+ SYSNAME=`uname` export SYSNAME; \
+ OBJTYPE=`uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'` export OBJTYPE; \
PATH=`pwd`/../bin:$$PATH export PATH; \
PLAN9=`pwd`/.. export PLAN9; \
sh -x mkmk.sh