summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-12-25 23:49:39 -0800
committerOri Bernstein <ori@eigenstate.org>2014-12-25 23:49:39 -0800
commita349fd1e69f7381661b772b84d910e2e0ad807c4 (patch)
treedc6b64c7c4fbe092addbf054eb0d6fcded1c1caf /rt
parentcc1be5641df28864deb468d47577be35a25e0c03 (diff)
downloadmc-a349fd1e69f7381661b772b84d910e2e0ad807c4.tar.gz
Make installation work correctly.
Diffstat (limited to 'rt')
-rw-r--r--rt/mkfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/rt/mkfile b/rt/mkfile
index 18e4310..880da21 100644
--- a/rt/mkfile
+++ b/rt/mkfile
@@ -1,6 +1,13 @@
</$objtype/mkfile
+all:V: _myrrt.$O
+
_myrrt.$O: _myrrt-plan9.s
$AS -o _myrrt.$O _myrrt-plan9.s
-</sys/src/cmd/mkone
+install:V:
+ mkdir -p /$objtype/lib/myr
+ cp _myrrt.$O /$objtype/lib/myr
+
+clean:V:
+ rm -f _myrrt.$O \ No newline at end of file