#	$Id$

PROG=	grep
SRCS=	binary.c grep.c util.c
LINKS=  ${BINDIR}/grep ${BINDIR}/egrep \
	${BINDIR}/grep ${BINDIR}/fgrep
ifdef GZ
LINKS=	${LINKS} ${BINDIR}/grep ${BINDIR}/zgrep
endif
MLINKS= grep.1 egrep.1 \
	grep.1 fgrep.1
ifdef GZ
MLINKS= ${MLINKS} grep.1 zgrep.1
endif

LDADD=  -lz
BINDIR=/bin

CFLAGS+=-Wall -pedantic

include ../Make.prog
