aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..dd58425
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,25 @@
+</$objtype/mkfile
+
+MAN=/sys/man/1
+BIN=/$objtype/bin
+TARG=\
+ catphone
+
+OFILES=\
+ main.$O\
+ alloc.$O\
+ sip.$O\
+
+HFILES=\
+ dat.h\
+ fns.h\
+
+</sys/src/cmd/mkone
+
+install:V: man
+
+uninstall:V:
+ for(i in $TARG){
+ rm -f $BIN/$i
+ rm -f $MAN/$i
+ }