]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/mkfile
added gb emulator prototype
[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         packet\
14         mandel\
15
16 OFILES=
17 HFILES=
18
19 </sys/src/cmd/mkmany
20 BIN=/$objtype/bin/games
21
22 DIRS=\
23         blabs\
24         doom\
25         gb\
26         mahjongg\
27         mines\
28         music\
29         sokoban\
30         sudoku\
31
32 4s.$O 5s.$O xs.$O:      xs.h
33 $O.4s $O.5s: xs.$O
34 catclock.$O:    catback.p eyes.p
35
36 all:V:  dirall
37 install:V:      dirinstall
38 clean:V:
39         for (i in $DIRS) @{
40                 cd $i
41                 mk clean
42         }
43         rm -f *.[$OS] [$OS].* y.tab.? y.debug y.output $TARG
44
45 nuke:V:
46         for (i in $DIRS) @{
47                 cd $i
48                 mk nuke
49         }
50         rm -f *.[$OS] [$OS].* y.tab.? y.debug y.output $TARG
51
52 dirinstall:V:
53         for (i in $DIRS) @{
54                 cd $i
55                 mk install
56         }
57
58 dirall:V:
59         for (i in $DIRS) @{
60                 cd $i
61                 mk all
62         }