]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/mkfile
9bootfat: rename open() to fileinit and make it static as its really a internal funct...
[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         mp3dec\
24         mp3enc\
25         music\
26         sokoban\
27         sudoku\
28
29 4s.$O 5s.$O xs.$O:      xs.h
30 $O.4s $O.5s: xs.$O
31 catclock.$O:    catback.p eyes.p
32
33 all:V:  dirall
34 install:V:      dirinstall
35 clean:V:
36         for (i in $DIRS) @{
37                 cd $i
38                 mk clean
39         }
40         rm -f *.[$OS] [$OS].* y.tab.? y.debug y.output $TARG
41
42 nuke:V:
43         for (i in $DIRS) @{
44                 cd $i
45                 mk nuke
46         }
47         rm -f *.[$OS] [$OS].* y.tab.? y.debug y.output $TARG
48
49 dirinstall:V:
50         for (i in $DIRS) @{
51                 cd $i
52                 mk install
53         }
54
55 dirall:V:
56         for (i in $DIRS) @{
57                 cd $i
58                 mk all
59         }