summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorragge <ragge@NetBSD.org>1997-11-05 12:12:32 +0000
committerragge <ragge@NetBSD.org>1997-11-05 12:12:32 +0000
commit4079b045b9296b09bc10050fa67806631e348f45 (patch)
tree813b0512d844f108a4ad0f484c05ad1eca270a95
parent01887c79ba9bbe659226bee1d0b2fcaabce1a848 (diff)
downloadbsdgames-darwin-4079b045b9296b09bc10050fa67806631e348f45.tar.gz
bsdgames-darwin-4079b045b9296b09bc10050fa67806631e348f45.tar.zst
bsdgames-darwin-4079b045b9296b09bc10050fa67806631e348f45.zip
Must have the correct library link order to be able to link
the binaries static.
-rw-r--r--backgammon/Makefile.inc4
-rw-r--r--hunt/hunt/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/backgammon/Makefile.inc b/backgammon/Makefile.inc
index 559b5f50..2933403d 100644
--- a/backgammon/Makefile.inc
+++ b/backgammon/Makefile.inc
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.inc,v 1.3 1997/10/22 02:31:35 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.4 1997/11/05 12:12:39 ragge Exp $
LIBCOMMON != cd ${.CURDIR}/../common_source;\
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
CPPFLAGS+=-DV7 -I${.CURDIR}/../common_source
DPADD+= ${LIBTERM} ${LIBCOMPAT} ${LIBCOMMON}/libcommon.a
-LDADD+= -ltermcap -lcompat -L${LIBCOMMON} -lcommon
+LDADD+= -L${LIBCOMMON} -lcommon -ltermcap -lcompat
HIDEGAME=hidegame
diff --git a/hunt/hunt/Makefile b/hunt/hunt/Makefile
index 64c8a96b..408101e6 100644
--- a/hunt/hunt/Makefile
+++ b/hunt/hunt/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 1997/10/22 05:05:27 lukem Exp $
+# $NetBSD: Makefile,v 1.3 1997/11/05 12:12:32 ragge Exp $
PROG= hunt
SRCS= connect.c hunt.c otto.c playit.c pathname.c
MAN= hunt.6
-LDADD= -ltermcap -lcurses
+LDADD= -lcurses -ltermcap
DPADD= ${LIBTERMCAP} ${LIBCURSES}
CPPFLAGS+=-I${.CURDIR}/../huntd