summaryrefslogtreecommitdiff
path: root/usr.bin/grep/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-21 23:12:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-21 23:12:01 +0000
commit7012090811f9c9222eed9a3e377e46438309fc0f (patch)
tree447a65355d84343eb4da66d3e3ce437b13fc42ce /usr.bin/grep/Makefile
parent59a639e3afe2ddfe6b7a38faf6692e15271f4023 (diff)
complete grep clone by harding@motd.ca; everything is there, but it is
slow because libc regexp is slow. Anyone out there have the balls to sit down and optimize libc regexp?
Diffstat (limited to 'usr.bin/grep/Makefile')
-rw-r--r--usr.bin/grep/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
new file mode 100644
index 00000000000..8e2b7a4be78
--- /dev/null
+++ b/usr.bin/grep/Makefile
@@ -0,0 +1,11 @@
+# $OpenBSD: Makefile,v 1.1 2001/09/21 23:12:00 deraadt Exp $
+
+PROG= grep
+SRCS= grep.c
+CFLAGS+= -Wall -pedantic -g
+
+LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
+ ${BINDIR}/grep ${BINDIR}/fgrep
+MLINKS= grep.1 egrep.1 grep.1 fgrep.1
+
+.include <bsd.prog.mk>