1996-10-18 06:52:59 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 1996/10/18 02:52:59 thorpej Exp $
|
1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= chess
|
|
|
|
SRCS= gnuchess.c uxdsp.c move.c
|
|
|
|
CFLAGS+=-DNEWMOVE=12
|
1994-12-22 12:31:26 +03:00
|
|
|
MAN= chess.6
|
1993-10-26 09:51:34 +03:00
|
|
|
DPADD= ${LIBCURSES} ${LIBTERM} /usr/lib/libgnumalloc.a
|
|
|
|
LDADD= -lcurses -ltermlib -lgnumalloc
|
1993-03-21 12:45:37 +03:00
|
|
|
HIDEGAME=hidegame
|
1993-04-09 13:36:09 +04:00
|
|
|
CLEANFILES += chess.6
|
1993-03-23 05:36:44 +03:00
|
|
|
|
|
|
|
chess.6:
|
1993-12-28 13:59:05 +03:00
|
|
|
/bin/rm -rf ${.OBJDIR}/chess.6
|
|
|
|
ln -s ${.CURDIR}/DOCUMENTATION/MAN-PAGE ${.OBJDIR}/chess.6
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
beforeinstall:
|
1996-10-18 06:52:59 +04:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
|
|
${.CURDIR}/gnuchess.book ${DESTDIR}/usr/share/games
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|