1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
|
1993-12-28 13:59:05 +03:00
|
|
|
# $Id: Makefile,v 1.6 1993/12/28 11:48:14 davidb Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= chess
|
|
|
|
SRCS= gnuchess.c uxdsp.c move.c
|
|
|
|
CFLAGS+=-DNEWMOVE=12
|
|
|
|
MAN6= chess.0
|
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-03-23 05:36:44 +03:00
|
|
|
MANALL+= chess.6
|
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:
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/gnuchess.book \
|
|
|
|
${DESTDIR}/usr/share/games
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|