summaryrefslogtreecommitdiff
path: root/usr.bin/grep/Makefile
blob: 2799c346540f01e4e01cd07c92bae6d80f7ce948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>