Commit | Line | Data |
---|---|---|
0250f5d0 SL |
1 | # @(#)Makefile 4.1 %G% |
2 | # | |
3 | DESTDIR= | |
4 | CC = /bin/cc | |
5 | CFLAGS = -O | |
6 | ||
7 | all: boggle bogdict | |
8 | ||
9 | bogdict: comp sfile | |
10 | sed -f sfile /usr/local/lib/w2a | uniq | comp >bogdict | |
11 | ||
12 | install: | |
13 | install boggle ${DESTDIR}/usr/games/boggle | |
14 | install bogdict ${DESTDIR}/usr/games/bogdict | |
15 | ||
16 | boggle: boggle.c | |
17 | cc -o boggle ${CFLAGS} boggle.c | |
18 | ||
19 | comp: comp.c | |
20 | cc -o comp ${CFLAGS} comp.c | |
21 | ||
22 | clean: | |
23 | rm -f bogdict boggle comp |