summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/mkfile b/mkfile
index ed46965..c90ea24 100644
--- a/mkfile
+++ b/mkfile
@@ -6,4 +6,15 @@ OFILES=\
main.$O\
nanosec.$O\
+LIB=\
+ libobj/libobj.a$O\
+
</sys/src/cmd/mkone
+
+libobj/libobj.a$O:
+ cd libobj
+ mk install
+
+clean nuke:V:
+ rm -f *.[$OS] [$OS].out $TARG
+ @{cd libobj; mk $target}