summaryrefslogtreecommitdiffstats
path: root/bin/expr
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-06-02 17:05:48 +0000
committerphk <phk@FreeBSD.org>1996-06-02 17:05:48 +0000
commitcb0af0dbc3b966c9c3c68ce1bca3354eb93db52d (patch)
tree44e0090fc5bf0f6cfeb9b9b6828fa15c9f838c7d /bin/expr
parent79ea4b1fca88d32867f88f36a198fd8389abb97f (diff)
downloadFreeBSD-src-cb0af0dbc3b966c9c3c68ce1bca3354eb93db52d.zip
FreeBSD-src-cb0af0dbc3b966c9c3c68ce1bca3354eb93db52d.tar.gz
Backout yacc changes
Diffstat (limited to 'bin/expr')
-rw-r--r--bin/expr/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/expr/Makefile b/bin/expr/Makefile
index 1c98f36..e360adf 100644
--- a/bin/expr/Makefile
+++ b/bin/expr/Makefile
@@ -2,8 +2,12 @@
# $Id: Makefile,v 1.8 1996/05/07 23:14:17 wosch Exp $
PROG= expr
-SRCS= expr.y
-CLEANFILES+= expr.c expr.tab.h
+SRCS= expr.c
+CLEANFILES+= expr.c y.tab.h
+
+expr.c:
+ ${YACC} -d ${.IMPSRC}
+ mv -f y.tab.c expr.c
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud