]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - robots/Makefile
Remove is_hex_str() (trying to guess if a number was hex or not). It is not
[bsdgames-darwin.git] / robots / Makefile
index 25764c9395da29a7a1052b7b8139c42ec3c810a1..6eb8f59387c422d84eb9bcb4c2d723f5a4d0c3f9 100644 (file)
@@ -1,17 +1,14 @@
-#      $NetBSD: Makefile,v 1.5 1995/04/22 10:08:46 cgd Exp $
+#      $NetBSD: Makefile,v 1.16 2010/02/06 23:45:25 he Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=  robots
-CFLAGS+=-DMAX_PER_UID=5
-SRCS=  extern.c init_field.c main.c make_level.c move.c move_robs.c \
+CPPFLAGS+=-DMAX_PER_UID=5
+SRCS=  auto.c extern.c init_field.c main.c make_level.c move.c move_robs.c \
        play_level.c query.c rnd_pos.c score.c flush_in.c
 MAN=   robots.6
-DPADD= ${LIBCURSES} ${LIBTERM}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES} ${LIBTERMINFO}
+LDADD= -lcurses -lterminfo
 HIDEGAME=hidegame
-
-beforeinstall:
-       install -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
-           ${DESTDIR}/var/games/robots_roll
+SETGIDGAME=yes
 
 .include <bsd.prog.mk>