# $OpenBSD: Makefile,v 1.5 1998/09/24 06:45:07 pjanzen Exp $ PROG= tetris SRCS= input.c screen.c shapes.c scores.c tetris.c MAN= tetris.6 DPADD= ${LIBCURSES} LDADD= -lcurses HIDEGAME=hidegame beforeinstall: @if [ ! -f ${DESTDIR}/var/games/tetris.scores ]; then \ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 \ /dev/null ${DESTDIR}/var/games/tetris.scores ; \ else \ true ; \ fi .include