Depend on all the .td files not just the main one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211390
91177308-0d34-0410-b5e6-
96231b3b80d8
# Dump all the records to <target>.td.expanded. This is useful for debugging.
$(TARGET:%=%.td.expanded): \
-%.td.expanded : %.td $(LLVM_TBLGEN)
+%.td.expanded : %.td $(LLVM_TBLGEN) $(TDFiles)
$(Echo) "Building a fully expanded version of $(<F)"
$(Verb) $(LLVMTableGen) -o $(call SYSPATH, $@) $<