|
|
1.1 root 1:
2: #Makefile for /usr/games
3:
4: #DESTDIR=/interim/usr/games/
5: DESTDIR=/bin386/usr/games/
6: DESTDIR2=/bin386/usr/games/lib/
7:
8: GAMES: fortune guess moo ttt rubik chase lines
9:
10: all: $(GAMES)
11:
12: fortune:
13: cc -O -o $(DESTDIR)fortune fortune.c
14: su root chmog 511 bin bin $(DESTDIR)$@
15: cd lib ; co $(DESTDIR)lib/fortunes
16: su root chmog 511 bin bin $(DESTDIR)lib/fortunes
17:
18: guess:
19: cc -O -o $(DESTDIR)guess guess.c
20: su root chmog 511 bin bin $(DESTDIR)$@
21:
22: moo:
23: cc -O -o $(DESTDIR)moo moo.c
24: su root chmog 511 bin bin $(DESTDIR)$@
25:
26: ttt:
27: cc -O -o $(DESTDIR)ttt ttt.c
28: su root chmog 511 bin bin $(DESTDIR)$@
29:
30: rubik:
31: co $(DESTDIR)rubik
32: su root chmog 511 bin bin $(DESTDIR)$@
33: cd lib ; co $(DESTDIR)lib/rubik.m4
34: cd $(DESTDIR)lib ; su root chmog 644 bin bin rubik.m4
35:
36: chase:
37: cd pacman ; make
38:
39: lines:
40: cc -O -o $(DESTDIR)$@ lines.c
41: su root chmog 511 bin bin $(DESTDIR)$@
42:
43: almanac: almanac.c
44: cc -O -o $(DESTDIR)$@ almanac.c
45: (cd lib ; co alm.birth ; co alm.death ; co alm.event)
46: (cd lib ; cp alm.birth $(DESTDIR2)/almanac.birth)
47: (cd lib ; cp alm.death $(DESTDIR2)/almanac.death)
48: (cd lib ; cp alm.event $(DESTDIR2)/almanac.event)
49: su root chmog 444 bin bin $(DESTDIR2)/almanac.*
50: (cd lib ; rm alm.*)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.