summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-06 14:25:45 +0000
committerbde <bde@FreeBSD.org>1998-03-06 14:25:45 +0000
commit0909f3b75534878d641b9e5d1dc2cd810b6e922c (patch)
tree3488bff4fbab01864dbb8a96d8631d79cf845d17 /usr.bin
parentc02d629c5f4f59a21c9268ffe4e2fe05b77883eb (diff)
downloadFreeBSD-src-0909f3b75534878d641b9e5d1dc2cd810b6e922c.zip
FreeBSD-src-0909f3b75534878d641b9e5d1dc2cd810b6e922c.tar.gz
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.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/xlint/lint1/Makefile4
1 files changed, 3 insertions, 1 deletions
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 <bsd.prog.mk>
OpenPOWER on IntegriCloud