summaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-12-15 20:38:01 +0000
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-12-15 20:59:54 +0000
commit075197f3c2eb7f375d9daee0d6b7f2eae2432074 (patch)
treed2ae376f9715b9786a0dba164f6854de25347797 /service
parent9e6613f8702df881526023403d33e342e6b428b6 (diff)
Fix build of os-rpclibrary-tool-native
Fix missing dependency and double execution of bison. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I3d8d3ec5de4eceaaaf520bf24c3718c73acaaa1f
Diffstat (limited to 'service')
-rwxr-xr-xservice/other/rpc_library/tool/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/service/other/rpc_library/tool/Makefile b/service/other/rpc_library/tool/Makefile
index 64bc6e4..2ba9137 100755
--- a/service/other/rpc_library/tool/Makefile
+++ b/service/other/rpc_library/tool/Makefile
@@ -36,10 +36,12 @@ apidef.tab.o: apidef.tab.h apidef.tab.c
lex.yy.o: lex.yy.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c $^
-apidef.o: apidef.cc
+apidef.o: apidef.cc apidef.tab.h
$(CXX) $(CPPFLAGS) $(CFLAGS) -c $^
-apidef.tab.h apidef.tab.c: apidef.y
+apidef.tab.c: apidef.tab.h
+
+apidef.tab.h: apidef.y
$(YACC) $(YFLAGS) $<
lex.yy.c: apidef.l apidef.tab.h