summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/dialog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/dialog/Makefile')
-rw-r--r--gnu/usr.bin/dialog/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/gnu/usr.bin/dialog/Makefile b/gnu/usr.bin/dialog/Makefile
index 8e50ad3..bdda638 100644
--- a/gnu/usr.bin/dialog/Makefile
+++ b/gnu/usr.bin/dialog/Makefile
@@ -1,17 +1,13 @@
-# Makefile for dialog
# $FreeBSD$
-.include <bsd.own.mk>
-
-.if ${MK_EXAMPLES} != "no"
-SUBDIR= TESTS
-.endif
-
+DIALOG= ${.CURDIR}/../../../contrib/dialog
PROG= dialog
-CFLAGS+= -Wall -Wstrict-prototypes
-
DPADD= $(LIBDIALOG) $(LIBNCURSES)
-LDADD= -ldialog -lncurses
+LDADD= -ldialog -lncursesw -lm
+CFLAGS+= -I${.CURDIR} -I${DIALOG}
+.PATH: ${DIALOG}
+
+WARNS?= 3
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud