summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-05-19 00:29:29 +0000
committersteve <steve@FreeBSD.org>1997-05-19 00:29:29 +0000
commitcc4887cc106ed34893d4d94b14671a6862ffcc9a (patch)
treeb2681ad03c6be150e92968de57ac3b4efd08c15f /bin
parent2f84314766994e7c599dfb2cb98cee628896f8c1 (diff)
downloadFreeBSD-src-cc4887cc106ed34893d4d94b14671a6862ffcc9a.zip
FreeBSD-src-cc4887cc106ed34893d4d94b14671a6862ffcc9a.tar.gz
Add explicit y.tab.h rule so that 'make depend clean all' does
not fail with an "don't know how to make y.tab.h" error.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 4c79215..867d002 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 8.4 (Berkeley) 5/5/95
-# $Id: Makefile,v 1.18 1997/04/28 03:03:23 steve Exp $
+# $Id: Makefile,v 1.19 1997/05/19 00:16:27 steve Exp $
PROG= sh
SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \
@@ -24,7 +24,7 @@ CLEANFILES+= builtins.h mkinit mkinit.o mknodes mknodes.o \
nodes.h syntax.h token.h y.tab.h
CLEANFILES+= ${GENSRCS}
-beforedepend: builtins.h nodes.h syntax.h token.h
+beforedepend: builtins.h nodes.h syntax.h token.h y.tab.h
builtins.c builtins.h: mkbuiltins builtins.def
cd ${.CURDIR}; sh mkbuiltins ${.OBJDIR}
@@ -42,6 +42,8 @@ syntax.c syntax.h: mksyntax
token.h: mktokens
sh ${.CURDIR}/mktokens
+y.tab.h: arith.c
+
# Rules for object files that rely on generated headers.
cd.o: nodes.h
eval.o: builtins.h nodes.h syntax.h
OpenPOWER on IntegriCloud