blob: 68b0873bafe684442a9f41aee07261c2717e51c1 (
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
38
39
|
</$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
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
|