From db13ce935757eb24ac6f8278df5d6a15d319d15b Mon Sep 17 00:00:00 2001 From: he Date: Sat, 6 Feb 2010 23:45:24 +0000 Subject: When using -lcurses, you also need -lterminfo. This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies. --- snake/snake/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'snake') diff --git a/snake/snake/Makefile b/snake/snake/Makefile index 2d6ae90c..7855c2f5 100644 --- a/snake/snake/Makefile +++ b/snake/snake/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.9 1999/09/14 18:07:21 jsm Exp $ +# $NetBSD: Makefile,v 1.10 2010/02/06 23:45:26 he Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= snake SRCS= snake.c MAN= snake.6 -DPADD= ${LIBM} ${LIBCURSES} -LDADD= -lm -lcurses +DPADD= ${LIBM} ${LIBCURSES} ${LIBTERMINFO} +LDADD= -lm -lcurses -lterminfo HIDEGAME=hidegame SETGIDGAME=yes -- cgit v1.2.3-56-ge451