Commit | Line | Data |
---|---|---|
15637ed4 RG |
1 | # @(#)Makefile 5.4 (Berkeley) 5/11/90 |
2 | ||
3 | PROG= chess | |
4 | SRCS= gnuchess.c uxdsp.c move.c | |
5 | CFLAGS+=-DNEWMOVE=12 | |
78ed81a3 | 6 | MAN6= chess.6 |
15637ed4 RG |
7 | DPADD= ${LIBCURSES} ${LIBTERM} |
8 | LDADD= -lcurses -ltermlib | |
9 | HIDEGAME=hidegame | |
78ed81a3 | 10 | BINOWN?= games |
11 | .if defined(HIDEGAME) | |
12 | BINDIR?= /usr/games/hide | |
13 | BINMODE?= 4700 | |
14 | .else | |
15 | BINDIR?= /usr/games | |
16 | .endif | |
15637ed4 RG |
17 | |
18 | beforeinstall: | |
19 | install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/gnuchess.book \ | |
20 | ${DESTDIR}/usr/share/games | |
21 | ||
22 | .include <bsd.prog.mk> |