From 848983a30dc99248ec45632bfc31718716a86e9d Mon Sep 17 00:00:00 2001
From: Tomasz Buchert <tomasz@debian.org>
Date: Fri, 7 Jul 2017 21:15:58 +0200
Subject: [PATCH] Fix parallel build problems (by Adrian Bunk)

Taken from debian
Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 32ab563..1993c9b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -59,8 +59,9 @@ lex.yy.c: calc.lex
 lex.yy.o: lex.yy.c
 	$(CC) $(CFLAGS) -I$(srcdir) -c lex.yy.c
 
+y.tab.c: y.tab.h
 
-y.tab.c y.tab.h: calc.y
+y.tab.h: calc.y
 	$(YACC) -d $(srcdir)/calc.y
 
 y.tab.o: y.tab.c
