* Makefile.in (c-exp.tab.o): Add missing dependencies.
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 561198fb05ded176378732b837ae0d08ab335e27..adec50564032af8b611b8ec3a760f71b91685d3f 100644 (file)
@@ -1055,6 +1055,10 @@ version.c: Makefile version.in
        mv version.c-tmp version.c
 version.o: version.c $(version_h)
 
+c-exp.tab.o: c-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
+       $(value_h) $(parser_defs_h) $(language_h) c-lang.h $(bfd_h) \
+       $(symfile_h) $(objfiles_h)
+
 # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
 # in srcdir, then compiled in objdir to c-exp.tab.o.
 
@@ -1064,7 +1068,6 @@ version.o: version.c $(version_h)
 # Remove bogus decls for malloc/realloc/free which conflict with everything
 # else.  Strictly speaking c-exp.tab.c should therefore depend on
 # Makefile.in, but that was a pretty big annoyance.
-c-exp.tab.o: c-exp.tab.c
 c-exp.tab.c: c-exp.y
        $(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/c-exp.y  y.tab.c c-exp.tmp -- $(YFLAGS) 
        -sed -e '/extern.*malloc/d' \
This page took 0.023359 seconds and 4 git commands to generate.