]> 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 88a59c384a0f6e064642e459d4a206c45fb605af..c0ccc6045a979e031cfde63ca25da854a16f732a 100644 (file)
@@ -1,10 +1,14 @@
+#      $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
-MAN6=  tetris.0
-DPADD= ${LIBTERM}
-LDADD= -ltermcap
+MAN=   tetris.6
+DPADD= ${LIBTERMINFO}
+LDADD= -lterminfo
 HIDEGAME=hidegame
+SETGIDGAME=yes
+
+COPTS.tetris.c+=       ${GCC_NO_FORMAT_TRUNCATION}
 
 .include <bsd.prog.mk>