Hi all, I'm wondering if there is any guidance regarding the list of dependencies to include for object files. For example, I see this list of dependencies for aarch64-builtins.o in aarch64/t-aarch64:
$(srcdir)/config/aarch64/aarch64-builtins.c $(CONFIG_H) \ $(SYSTEM_H) coretypes.h $(TM_H) \ $(RTL_H) $(TREE_H) expr.h $(TM_P_H) $(RECOG_H) langhooks.h \ $(DIAGNOSTIC_CORE_H) $(OPTABS_H) \ $(srcdir)/config/aarch64/aarch64-simd-builtins.def \ $(srcdir)/config/aarch64/aarch64-simd-builtin-types.def \ aarch64-builtin-iterators.h But I can see that aarch64-builtins.c also includes headers not listed here. (function.h, basic-block.h, for example) Are we supposed to manually keep track of the transitive header dependencies and keep the makefiles up to date, or is there some sort of automatic dependency management that is happening on our behalf? Something along the lines of some of the answers provided here: https://stackoverflow.com/questions/2394609/makefile-header-dependencies Thanks, Andrew