diff --git a/usr.bin/xlint/lint1/Makefile b/usr.bin/xlint/lint1/Makefile
index d5e519a4cada..e20938eb4994 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>