-# $NetBSD: Makefile,v 1.10 1997/11/20 00:12:39 mrg Exp $
+# $NetBSD: Makefile,v 1.16 2004/01/01 16:05:12 jsm Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rogue
-CPPFLAGS+=-DUNIX -fwritable-strings
-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} ${LIBCOMPAT}
-LDADD= -lcurses -ltermlib -lcompat
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
-SETUIDGAME=yes
+SETGIDGAME=yes
MAN= rogue.6
+WARNS= 2
.if make(install)
SUBDIR+=USD.doc