]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - rogue/Makefile
Heads up on Bell patents
[bsdgames-darwin.git] / rogue / Makefile
index f0161a2f67919d7f737bd8b1cf2d69e018cbe560..e46f5173fd1f908c17ff0a00c6353eb0fc7f496f 100644 (file)
@@ -1,14 +1,20 @@
-#      from: @(#)Makefile      5.7 (Berkeley) 5/11/90
-#      $Id: Makefile,v 1.3 1993/11/10 10:02:16 cgd Exp $
+#      $NetBSD: Makefile,v 1.21 2019/10/13 07:28:09 mrg Exp $
+#      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=  rogue
-CFLAGS+=-DUNIX -fwritable-strings -g
-SRCS=  curses.c hit.c init.c inventory.c level.c machdep.c main.c \
+CPPFLAGS+=-DUNIX
+SRCS=  hit.c init.c inventory.c level.c machdep.c main.c \
        message.c monster.c move.c object.c pack.c play.c random.c ring.c \
        room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c
-DPADD= ${LIBCURSES} ${LIBTERM}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES} ${LIBTERMINFO}
+LDADD= -lcurses -lterminfo
 HIDEGAME=hidegame
-MAN6=  rogue.0
+SETGIDGAME=yes
+MAN=   rogue.6
+
+SUBDIR.roff+=USD.doc
+
+COPTS.score.c+=        ${GCC_NO_FORMAT_TRUNCATION}
 
 .include <bsd.prog.mk>
+.include <bsd.subdir.mk>