summaryrefslogtreecommitdiffstats
path: root/bin/expr
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-04 18:41:16 +0000
committerbde <bde@FreeBSD.org>1998-05-04 18:41:16 +0000
commitc41c6ae044060a704aa84b27cc45c8f805e2dd45 (patch)
treef1765075fd748041eb4419b5872199bbfad7d4e5 /bin/expr
parentc1ea7ba30de2bb57bc5bec45c8f6d23b52b12c70 (diff)
downloadFreeBSD-src-c41c6ae044060a704aa84b27cc45c8f805e2dd45.zip
FreeBSD-src-c41c6ae044060a704aa84b27cc45c8f805e2dd45.tar.gz
Simplified using new yacc rules and by not generating y.tab.h.
Diffstat (limited to 'bin/expr')
-rw-r--r--bin/expr/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/bin/expr/Makefile b/bin/expr/Makefile
index 55079717..215b498 100644
--- a/bin/expr/Makefile
+++ b/bin/expr/Makefile
@@ -1,13 +1,7 @@
-# /b/source/CVS/src/bin/expr/Makefile,v 1.5 1993/06/14 19:56:06 jtc Exp
-# $Id$
+# $Id: Makefile,v 1.12 1997/02/22 14:03:36 peter Exp $
-PROG= expr
-SRCS= expr.c
-CLEANFILES+= expr.c y.tab.h
-
-expr.c:
- ${YACC} -d ${.IMPSRC}
- mv -f y.tab.c expr.c
+PROG= expr
+SRCS= expr.y
+YFLAGS=
.include <bsd.prog.mk>
-
OpenPOWER on IntegriCloud