WARNS6 cleanups
[dragonfly.git] / games / snake / snake / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/snake/snake/Makefile,v 1.5.2.3 2002/08/07 16:31:42 ru Exp $
3 # $DragonFly: src/games/snake/snake/Makefile,v 1.4 2006/09/03 23:47:56 pavalos Exp $
4
5 PROG=   snake
6 SRCS=   snake.c
7 MAN=    snake.6
8 DPADD=  ${LIBM} ${LIBCURSES}
9 LDADD=  -lm -lcurses
10 HIDEGAME=hidegame
11 MLINKS= snake.6 snscore.6
12 WARNS?= 6
13
14 beforeinstall:
15 .if !exists(${DESTDIR}/var/games/snakerawscores)
16         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
17             ${DESTDIR}/var/games/snakerawscores
18 .endif
19 .if !exists(${DESTDIR}/var/games/snake.log)
20         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
21             ${DESTDIR}/var/games/snake.log
22 .endif
23
24 .include "../../Makefile.inc"
25 .include <bsd.prog.mk>