mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
10 lines
381 B
Makefile
10 lines
381 B
Makefile
../bin/mk: mkmk.sh
|
|
SYSNAME=`uname` export SYSNAME; \
|
|
OBJTYPE=`uname -m | sed 's;i.86;386;; s;amd64;x86_64;; s;/.*;;; s; ;;g; s/PowerMacintosh/power/; s/macppc/power/g; s/ppc64/power/g; s/ppc/power/g'` export OBJTYPE; \
|
|
PATH=/bin:/usr/bin:/usr/local/bin:`pwd`/../bin:$$PATH export PATH; \
|
|
PLAN9=`pwd`/.. export PLAN9; \
|
|
sh -x mkmk.sh
|
|
|
|
all clean install nuke: ../bin/mk
|
|
mk $@
|
|
|