aboutsummaryrefslogtreecommitdiff
path: root/bin/expr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/expr/Makefile')
-rw-r--r--bin/expr/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/expr/Makefile b/bin/expr/Makefile
index f955f92b0b4f..c2db2b639aad 100644
--- a/bin/expr/Makefile
+++ b/bin/expr/Makefile
@@ -1,9 +1,10 @@
# /b/source/CVS/src/bin/expr/Makefile,v 1.5 1993/06/14 19:56:06 jtc Exp
PROG= expr
-SRCS= expr.c regex.c
-CFLAGS+= -I${.CURDIR} -DHAVE_STRING_H=1
+SRCS= expr.c
CLEANFILES+= expr.c y.tab.h
+LDADD+= -lgnuregex
+DPADD+= /usr/lib/libgnuregex.a
expr.c:
${YACC} -d ${.IMPSRC}