aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-07-23 22:52:31 +0000
committerrodri <rgl@antares-labs.eu>2023-07-23 22:52:31 +0000
commit2e99eaaea1aa6776eda10f5ec8bd90adcfe8424a (patch)
treefe2602798fbafacef77d0636c7ef5f717a12bbed /mkfile
downloadcatphone-2e99eaaea1aa6776eda10f5ec8bd90adcfe8424a.tar.gz
catphone-2e99eaaea1aa6776eda10f5ec8bd90adcfe8424a.tar.bz2
catphone-2e99eaaea1aa6776eda10f5ec8bd90adcfe8424a.zip
layed out initial structures. began work on registration procedure.
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
+ }