X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/c1afd48ba482a93e1cac5d70fbee7ad04e7b139e..38b4c167efba97445e3dffca780ccab4a3b7937a:/larn/Makefile diff --git a/larn/Makefile b/larn/Makefile index b67dd8d3..cca697bb 100644 --- a/larn/Makefile +++ b/larn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/05/11 23:16:28 mrg Exp $ +# $NetBSD: Makefile,v 1.21 2011/08/16 11:19:41 christos Exp $ # @(#)Makefile 5.12 (Berkeley) 5/30/93 # EXTRA @@ -62,9 +62,9 @@ MAN= larn.6 CPPFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -DTERMIOS SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \ monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \ - signal.c moreobj.c movem.c regen.c fortune.c savelev.c -DPADD= ${LIBTERM} -LDADD= -ltermcap + signal.c action.c moreobj.c movem.c regen.c fortune.c savelev.c +DPADD= ${LIBTERMINFO} +LDADD= -lterminfo HIDEGAME=hidegame SETGIDGAME=yes @@ -74,10 +74,7 @@ FILES=${DAT:S@^@${.CURDIR}/datfiles/@g} FILESDIR=/usr/share/games/larn .endif -.if ${HAVE_GCC} == 4 -.for f in main display data io monster savelev -COPTS.${f}.c+= -Wno-pointer-sign -.endfor -.endif +COPTS.display.c += -Wno-format-nonliteral +COPTS.monster.c += -Wno-format-nonliteral .include