From 0909f3b75534878d641b9e5d1dc2cd810b6e922c Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 6 Mar 1998 14:25:45 +0000 Subject: 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. --- usr.bin/xlint/lint1/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/xlint/lint1/Makefile b/usr.bin/xlint/lint1/Makefile index d5e519a..e20938e 100644 --- a/usr.bin/xlint/lint1/Makefile +++ b/usr.bin/xlint/lint1/Makefile @@ -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 -- cgit v1.1