aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/Makefile')
-rw-r--r--usr.bin/grep/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
new file mode 100644
index 0000000..2799c34
--- /dev/null
+++ b/usr.bin/grep/Makefile
@@ -0,0 +1,16 @@
+# $OpenBSD: Makefile,v 1.7 2016/03/30 06:38:46 jmc Exp $
+
+PROG= grep
+SRCS= binary.c file.c grep.c mmfile.c queue.c util.c
+LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
+ ${BINDIR}/grep ${BINDIR}/fgrep \
+ ${BINDIR}/grep ${BINDIR}/zgrep \
+ ${BINDIR}/grep ${BINDIR}/zegrep \
+ ${BINDIR}/grep ${BINDIR}/zfgrep \
+
+CFLAGS+= -Wall
+
+LDADD= -lz
+DPADD= ${LIBZ}
+
+.include <bsd.prog.mk>