summaryrefslogtreecommitdiff
path: root/libobj/test/mkfile
diff options
context:
space:
mode:
authorrgl <devnull@localhost>2020-02-03 22:42:28 +0100
committerrgl <devnull@localhost>2020-02-03 22:42:28 +0100
commit0373255087377122eeb10e006ffb8aa1b57e611c (patch)
tree33a4fafa4996fc2efa205b2973622c3fbd27f368 /libobj/test/mkfile
download3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.gz
3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.bz2
3dee-0373255087377122eeb10e006ffb8aa1b57e611c.zip
after a year or so of work, i dare create a proper repo.
Diffstat (limited to 'libobj/test/mkfile')
-rw-r--r--libobj/test/mkfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/libobj/test/mkfile b/libobj/test/mkfile
new file mode 100644
index 0000000..2f4895c
--- /dev/null
+++ b/libobj/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}