|
|
1.1 root 1: #
2: # make file for cribbage
3: #
4: # @(#)Makefile 1.3 (Berkeley) 9/6/83
5: #
6: HDRS= cribbage.h deck.h cribcur.h
7: OBJS= extern.o crib.o support.o cards.o score.o io.o
8: CFILES= extern.c crib.c support.c cards.c score.c io.c
9: TOBJS= test.o cards.o score.o io.o extern.o
10: CFLAGS= -O
11:
12: cribbage: ${OBJS}
13: ${CC} ${CFLAGS} -o cribbage ${OBJS} -lcurses -ltermlib
14:
15: all: cribbage crib.instr
16:
17: crib.o io.o support.o: cribcur.h
18:
19: test: ${TOBJS}
20: ${CC} ${CFLAGS} -o test ${TOBJS} -lcurses -ltermlib
21:
22: crib.instr: cribbage.n macro
23: nroff cribbage.n > crib.instr
24:
25: tags: ${HDRS} ${CFILES}
26: ctags -u $?
27: ed - tags < :ctfix
28: sort tags -o tags
29:
30: clean:
31: rm -f ${OBJS} ? a.out core crib.instr cribbage
32:
33: crib.o: deck.h cribbage.h cribcur.h
34: support.o: deck.h cribbage.h cribcur.h
35: test.o: deck.h
36: cards.o: deck.h
37: score.o: deck.h
38: io.o: deck.h cribcur.h
39:
40: install: cribbage crib.instr
41: install -c -s cribbage /usr/games/
42: install -c crib.instr /usr/games/lib/
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.