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
commitf2a5951555e790be31f21c0070d7877d7da5d60a (patch)
treedc6b64c7c4fbe092addbf054eb0d6fcded1c1caf /rt
parent471ec90f44b94071443c15c52f89f3f5108c8ae7 (diff)
downloadmc-f2a5951555e790be31f21c0070d7877d7da5d60a.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