Commit | Line | Data |
---|---|---|
aa1faa6c | 1 | # @(#)Makefile 8.1 (Berkeley) %G% |
4112d45f | 2 | |
770d844a KB |
3 | PROG= chess |
4 | SRCS= gnuchess.c uxdsp.c move.c | |
5 | CFLAGS+=-DNEWMOVE=12 | |
6 | MAN6= chess.0 | |
7 | DPADD= ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT} | |
8 | LDADD= -lcurses -ltermlib -lcompat | |
9 | HIDEGAME=hidegame | |
4112d45f | 10 | |
770d844a KB |
11 | beforeinstall: |
12 | install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/gnuchess.book \ | |
13 | ${DESTDIR}/usr/share/games | |
4112d45f | 14 | |
770d844a | 15 | .include <bsd.prog.mk> |