aboutsummaryrefslogtreecommitdiff
path: root/test/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-04-12 23:53:26 +0000
committerrodri <rgl@antares-labs.eu>2020-04-12 23:53:26 +0000
commitd7bb559d490e6a5ece5dd9256a6f7c11f550b13d (patch)
tree598c64628722b85fe83da9d2c070d1aa0391e3d0 /test/mkfile
downloadlibobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.tar.gz
libobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.tar.bz2
libobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.zip
standalone version release.
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}