aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grep/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/grep/mkfile')
-rw-r--r--src/cmd/grep/mkfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/cmd/grep/mkfile b/src/cmd/grep/mkfile
new file mode 100644
index 00000000..fd17abdd
--- /dev/null
+++ b/src/cmd/grep/mkfile
@@ -0,0 +1,20 @@
+PLAN9=../../..
+<$PLAN9/src/mkhdr
+
+# Calling this grep breaks a LOT. Like egrep on Linux.
+# And probably configure.
+
+TARG=9grep
+HFILES=\
+ grep.h\
+
+OFILES=\
+ y.tab.$O\
+ main.$O\
+ comp.$O\
+ sub.$O\
+
+YFILES=grep.y\
+
+SHORTLIB=bio 9
+<$PLAN9/src/mkone