NetBSD/gnu/games/chess/Makefile

23 lines
522 B
Makefile

# $NetBSD: Makefile,v 1.12 1997/10/23 22:50:34 lukem Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
.if (${MACHINE_ARCH} != "alpha")
PROG= chess
SRCS= gnuchess.c uxdsp.c move.c
CPPFLAGS+=-DNEWMOVE=12
DPADD= ${LIBCURSES} ${LIBTERM} ${LIBGNUMALLOC}
LDADD= -lcurses -ltermlib -lgnumalloc
HIDEGAME=hidegame
FILES=gnuchess.book
FILESDIR=/usr/share/games
.endif
MAN= chess.6
CLEANFILES += chess.6
chess.6:
/bin/rm -rf ${.OBJDIR}/chess.6
ln -s ${.CURDIR}/DOCUMENTATION/MAN-PAGE ${.OBJDIR}/chess.6
.include <bsd.prog.mk>