aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 9ced5330d6a2258580ac8f0b3ada6691d6886df2 (plain)
1
2
3
4
5
6
7
8
9
10
../bin/mk: mkmk.sh
	SYSNAME=`uname` export SYSNAME; \
	OBJTYPE=`uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g' | sed 's/ppc64/power/g' | sed 's/ppc/power/g'` export OBJTYPE; \
	PATH=`pwd`/../bin:$$PATH export PATH; \
	PLAN9=`pwd`/.. export PLAN9; \
	sh -x mkmk.sh

all clean install nuke: ../bin/mk
	mk $@