Fixed `make -jN' for large N. Just put the generated file y.tab.h in

SRCS and add a dummy rule to create it.  This and cleaning of yacc
output files should all be handled by bsd.prog.mk.
This commit is contained in:
Bruce Evans 1998-03-06 14:25:45 +00:00
parent 8408ce6f64
commit 99c91e5acc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34127

View File

@ -2,7 +2,7 @@
PROG= lint1
SRCS= cgram.c scan.c mem1.c mem.c err.c main1.c decl.c tree.c func.c \
init.c emit.c emit1.c
init.c emit.c emit1.c y.tab.h
NOMAN=
LDADD+= -ll
DPADD+= ${LIBL}
@ -16,4 +16,6 @@ BINDIR= /usr/libexec
# XXX: -O causes the gcc to die on the i386, when compiling tree.o
CFLAGS+= -DXXX_BROKEN_GCC
y.tab.h: cgram.c
.include <bsd.prog.mk>