aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2010-10-27 18:54:49 +0100
committerJohan Hedberg <johan.hedberg@nokia.com>2010-10-27 18:14:38 -0400
commit00b3d48753565e620aeeec6ae2aa2e7306a0e50d (patch)
tree8fd52ce0af11b2975a4f867ca24970552932c9f1 /Makefile.tools
parentd91fe19315a0a78eec10adaeac6fc5e46dff5c5b (diff)
downloadbluez-00b3d48753565e620aeeec6ae2aa2e7306a0e50d.tar.gz
build: Fix parallel build
Fix parallel build where parser.h won't have been generated when we're trying to compile kword itself. YACC tools/parser.c LEX tools/lexer.c conflicts: 3 shift/reduce CC tools/kword.o tools/kword.c:36:20: fatal error: parser.h: No such file or directory compilation terminated.
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 405a42b6..797b53d8 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -12,6 +12,8 @@ sbin_PROGRAMS += tools/hciattach tools/hciconfig
noinst_PROGRAMS += tools/avinfo tools/ppporc \
tools/hcieventmask tools/hcisecfilter
+tools/kword.c: tools/parser.h
+
tools_rfcomm_SOURCES = tools/main.c tools/parser.y tools/lexer.l \
tools/kword.h tools/kword.c
EXTRA_tools_rfcomm_SOURCES = tools/parser.h tools/parser.c \