distrib-dirs: invert logic
[dragonfly.git] / games / robots / Makefile
blob07078f3a09325b4a71e4c85938fc3dc5c478286e
1 # @(#)Makefile 8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/robots/Makefile,v 1.5.2.3 2002/08/07 16:31:42 ru Exp $
3 # $DragonFly: src/games/robots/Makefile,v 1.4 2006/10/08 16:22:36 pavalos Exp $
5 PROG= robots
6 CFLAGS+=-DMAX_PER_UID=5
7 SRCS= extern.c init_field.c main.c make_level.c move.c move_robs.c \
8 play_level.c query.c rnd_pos.c score.c flush_in.c
9 MAN= robots.6
10 DPADD= ${LIBCURSES}
11 LDADD= -lcurses
12 HIDEGAME=hidegame
14 beforeinstall:
15 .if !exists(${DESTDIR}/var/games/robots_roll)
16 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
17 ${DESTDIR}/var/games/robots_roll
18 .endif
20 .include <bsd.prog.mk>