]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - tetris/Makefile
introduce some common variables for use in GCC warning disables:
[bsdgames-darwin.git] / tetris / Makefile
index b3650e3e1ce3c0a90dbed9ca0aa5f93a281091d7..c0ccc6045a979e031cfde63ca25da854a16f732a 100644 (file)
@@ -1,12 +1,14 @@
-#      $NetBSD: Makefile,v 1.4 1997/11/20 00:12:42 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2019/10/13 07:28:10 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}
+
 .include <bsd.prog.mk>