summaryrefslogtreecommitdiff
path: root/games/snake/Makefile
blob: d6475e8e5003f43783f6ce149611426ec3754dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$OpenBSD: Makefile,v 1.8 2002/05/31 03:46:35 pjanzen Exp $
#	@(#)Makefile	8.1 (Berkeley) 5/31/93

PROG=	snake
SRCS=	snake.c snscore.c
MAN=	snake.6
DPADD=	${LIBM} ${LIBCURSES}
LDADD=	-lm -lcurses
MLINKS=snake.6 snscore.6
BINMODE=2555

beforeinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/games/snakerawscores
	(cd ${DESTDIR}/usr/games; rm -f snscore; ln -s snake snscore)

.include <bsd.prog.mk>