]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - battlestar/Makefile
Simplify, little KNF
[bsdgames-darwin.git] / battlestar / Makefile
index 33c6bc4216aa9ffe6a7aee37251d73294fe64e00..70c79ea71f25f119a296ead7203cb224eea056f0 100644 (file)
@@ -1,14 +1,19 @@
-#      $NetBSD: Makefile,v 1.8 1998/02/18 22:37:30 jtc Exp $
+#      $NetBSD: Makefile,v 1.11 2019/10/29 21:30:42 christos Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=  battlestar
-SRCS=  battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
+SRCS=  battlestar.c command1.c command2.c command3.c command4.c \
+       command5.c command6.c command7.c \
        init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
        globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
 MAN=   battlestar.6
-DPADD= ${LIBCURSES}
-LDADD= -lcurses
+DPADD= ${LIBCURSES} ${LIBTERMINFO}
+LDADD= -lcurses -lterminfo
 HIDEGAME=hidegame
 SETGIDGAME=yes
 
+.if !empty(MACHINE_ARCH:Msh3*)
+COPTS.parse.c+=-Wno-restrict
+.endif
+
 .include <bsd.prog.mk>