blob: e4aacc65118dd9fce72f906e5032076af308fb76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# this should be a bourne compatible shell script.
export PATH=`pwd`:`pwd`/6:`pwd`/muse:$PATH
if test `uname` = Plan9; then
O=6
export MYR_MUSE=`pwd`/muse/$O.out
export MYR_MC=`pwd`/6/$O.out
export MYR_RT=`pwd`/rt/_myrrt.$O
BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh"
else
export MYR_MUSE=muse
export MYR_MC=6m
export MYR_RT=`pwd`/rt/_myrrt.o
BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh"
fi
if [ -f mbld/mbld ]; then
./mbld/mbld $@ || mbld $@ || \
(echo "Unable to run mbld $@; have you build successfully"; false)
else
./mbld/mbld || mbld
fi
|