blob: 40d51d52daa90ff380672de0b42d7781efd2000e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
</$objtype/mkfile
MAN=/sys/man/1
BIN=/$objtype/bin/games
TARG=\
bts\
btsd\
OFILES=\
alloc.$O\
parse.$O\
util.$O\
andy.$O\
menulist.$O\
mixer.$O\
HFILES=\
dat.h\
fns.h\
mixer.h\
ASSETDIR=/sys/games/lib/battleship
</sys/src/cmd/mkmany
install:V:
for(i in $TARG)
mk $MKFLAGS $i.install
mkdir -p $ASSETDIR
dircp assets $ASSETDIR
cp bts.man $MAN/battleship
uninstall:V:
for(i in $TARG)
rm -f $BIN/$i
rm -f $MAN/battleship
rm -rf $ASSETDIR
|