don't try to switch a char and have a case of EOF - use an int.
[bsdgames-darwin.git] / rogue / Makefile
index 53779b3c9fbfd6d3d5a533ef03819918ecda0e3a..e24c1d5bd9e3f7e2819213c7d562097148aee1f6 100644 (file)
@@ -1,14 +1,21 @@
-#      from: @(#)Makefile      5.7 (Berkeley) 5/11/90
-#      $Id: Makefile,v 1.2 1993/08/01 05:44:27 mycroft Exp $
+#      $NetBSD: Makefile,v 1.16 2004/01/01 16:05:12 jsm Exp $
+#      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=  rogue
-CFLAGS+=-DUNIX -DUNIX_BSD4_2 -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}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
 HIDEGAME=hidegame
-MAN6=  rogue.0
+SETGIDGAME=yes
+MAN=   rogue.6
+WARNS= 2
+
+.if make(install)
+SUBDIR+=USD.doc
+.endif
 
 .include <bsd.prog.mk>
+.include <bsd.subdir.mk>