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 4PROG= snake 5SRCS= snake.c 6MAN= snake.6 7MLINKS= snake.6 snscore.6 8DPADD= ${LIBM} ${LIBNCURSES} 9LDADD= -lm -lprivate_ncurses 10 11CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses 12LDFLAGS+= ${PRIVATELIB_LDFLAGS} 13HIDEGAME= hidegame 14 15beforeinstall: 16.if !exists(${DESTDIR}/var/games/snakerawscores) 17 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 18 ${DESTDIR}/var/games/snakerawscores 19.endif 20.if !exists(${DESTDIR}/var/games/snake.log) 21 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 22 ${DESTDIR}/var/games/snake.log 23.endif 24 25.include "../../Makefile.inc" 26.include <bsd.prog.mk> 27