X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=service%2Fother%2Frpc_library%2Ftool%2FMakefile;fp=service%2Fother%2Frpc_library%2Ftool%2FMakefile;h=2ba913736b378c5274b56fd2b69bc660e3641fd0;hb=075197f3c2eb7f375d9daee0d6b7f2eae2432074;hp=64bc6e4d8553627890b87ed9e71636fcd55311e9;hpb=9e6613f8702df881526023403d33e342e6b428b6;p=staging%2Fbasesystem.git 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