]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - tetris/Makefile
Avoid common symbols. Use __dead.
[bsdgames-darwin.git] / tetris / Makefile
index 19122c16253aeba0373846f523497ba1910b0c31..431122409f6e354b2f688dacd875f9198bf7e5c9 100644 (file)
@@ -1,12 +1,15 @@
-#      $NetBSD: Makefile,v 1.6 2008/01/28 07:03:59 dholland Exp $
+#      $NetBSD: Makefile,v 1.9 2020/09/06 10:51:20 mrg Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=  tetris
 SRCS=  input.c screen.c shapes.c scores.c tetris.c
 MAN=   tetris.6
-DPADD= ${LIBTERM}
-LDADD= -ltermcap
+DPADD= ${LIBTERMINFO}
+LDADD= -lterminfo
 HIDEGAME=hidegame
 SETGIDGAME=yes
 
+COPTS.tetris.c+=       ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.scores.c+=       ${GCC_NO_FORMAT_TRUNCATION}
+
 .include <bsd.prog.mk>