aboutsummaryrefslogtreecommitdiff
path: root/lib/libforms/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libforms/examples/Makefile')
-rw-r--r--lib/libforms/examples/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libforms/examples/Makefile b/lib/libforms/examples/Makefile
index 4f0a23fafdd7c..4389b705c0436 100644
--- a/lib/libforms/examples/Makefile
+++ b/lib/libforms/examples/Makefile
@@ -3,7 +3,7 @@ NOMAN = yet
SRCS = example.c
-CFLAGS = -g -static
+CFLAGS = -static #-g
.if exists(${.CURDIR}/../obj)
FORMDIR=${.CURDIR}/../obj
@@ -11,7 +11,7 @@ FORMDIR=${.CURDIR}/../obj
FORMDIR=${.CURDIR}/..
.endif
-LDADD = -L${FORMDIR} -lforms -lncurses -lmytinfo -ll
-DPADD = /usr/lib/libforms.a
+LDADD = -L${FORMDIR} -lforms -ldialog -lncurses -lmytinfo -ll
+DPADD = ${LIBFORMS} ${LIBNCURSES}
.include <bsd.prog.mk>