aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkfile b/mkfile
index 689948b..68b0873 100644
--- a/mkfile
+++ b/mkfile
@@ -19,14 +19,21 @@ HFILES=\
fns.h\
mixer.h\
+ASSETDIR=/sys/games/lib/battleship
+
</sys/src/cmd/mkmany
ohman:V:
cp bts.man $MAN/battleship
install:V: ohman
+ for(i in $TARG)
+ mk $MKFLAGS $i.install
+ mkdir -p $ASSETDIR
+ dircp assets $ASSETDIR
uninstall:V:
for(i in $TARG)
rm -f $BIN/$i
rm -f $MAN/battleship
+ rm -rf $ASSETDIR