aboutsummaryrefslogtreecommitdiff
path: root/test/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/mkfile')
-rw-r--r--test/mkfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/mkfile b/test/mkfile
new file mode 100644
index 0000000..2f4895c
--- /dev/null
+++ b/test/mkfile
@@ -0,0 +1,21 @@
+</$objtype/mkfile
+
+BIN=$home/$objtype/bin
+TARG=objtest
+OFILES=\
+ main.$O\
+
+HFILES=../../obj.h
+
+LIB=\
+ ../../libobj.a$O\
+
+</sys/src/cmd/mkone
+
+../../libobj.a$O:
+ cd ..
+ mk install
+
+clean nuke:V:
+ rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG
+ @{cd ..; mk $target}