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. --- gomoku/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gomoku') diff --git a/gomoku/Makefile b/gomoku/Makefile index 9af821e7..d39f70e4 100644 --- a/gomoku/Makefile +++ b/gomoku/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.4 1998/02/18 22:37:31 jtc Exp $ +# $NetBSD: Makefile,v 1.5 2010/02/06 23:45:25 he Exp $ # @(#)Makefile 8.1 (Berkeley) 7/24/94 PROG= gomoku SRCS= bdinit.c bdisp.c main.c makemove.c pickmove.c stoc.c MAN= gomoku.6 -DPADD= ${LIBCURSES} -LDADD= -lcurses +DPADD= ${LIBCURSES} ${LIBTERMINFO} +LDADD= -lcurses -lterminfo HIDEGAME=hidegame .include -- cgit v1.2.3-56-ge451