Fix build of os-rpclibrary-tool-native
[staging/basesystem.git] / service / other / rpc_library / tool / Makefile
index 64bc6e4..2ba9137 100755 (executable)
@@ -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