summaryrefslogtreecommitdiff
path: root/games/snake/Makefile
blob: 341d41dabfb02a15d93f5f2ac55ddd36c25c5027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.4 2000/04/25 16:51:18 espie Exp $
#	@(#)Makefile	8.1 (Berkeley) 5/31/93

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

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 dm snscore)
	(cd ${DESTDIR}/usr/games/hide; rm -f snscore; ln -s snake snscore)

.include <bsd.prog.mk>