]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/mkfile
merge
[plan9front.git] / sys / src / games / mkfile
1 </$objtype/mkfile
2
3 TARG=4s\
4         5s\
5         ana\
6         catclock\
7         festoon\
8         juggle\
9         life\
10         memo\
11         mole\
12         glendy\
13
14 OFILES=
15 HFILES=
16
17 </sys/src/cmd/mkmany
18 BIN=/$objtype/bin/games
19
20 DIRS=\
21 #       blabs\
22         mahjongg\
23         mines\
24         mp3dec\
25         mp3enc\
26         music\
27         sokoban\
28         sudoku\
29
30 4s.$O 5s.$O xs.$O:      xs.h
31 $O.4s $O.5s: xs.$O
32 catclock.$O:    catback.p eyes.p
33
34 all:V:  dirall
35 install:V:      dirinstall
36 clean:V:
37         for (i in $DIRS) @{
38                 cd $i
39                 mk clean
40         }
41         rm -f *.[$OS] [$OS].* y.tab.? y.debug y.output $TARG
42
43 nuke:V:
44         for (i in $DIRS) @{
45                 cd $i
46                 mk nuke
47         }
48         rm -f *.[$OS] [$OS].* y.tab.? y.debug y.output $TARG
49
50 dirinstall:V:
51         for (i in $DIRS) @{
52                 cd $i
53                 mk install
54         }
55
56 dirall:V:
57         for (i in $DIRS) @{
58                 cd $i
59                 mk all
60         }