X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.rules;h=e82549d7075052a23cea04132fa9ebfd222562ce;hb=4cb5fff50b71ff9c2cebff09144c20f812529fc9;hp=6dbc9768c4e72515927da4f966bd9425c017832d;hpb=774ec45f3d7ef8b6fafe8d653ccaae0fd0a1933e;p=oota-llvm.git diff --git a/Makefile.rules b/Makefile.rules index 6dbc9768c4e..e82549d7075 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -86,12 +86,18 @@ LLVMConfigLibraryDependenciesInc := \ # # Note that this target gets its real dependencies generated for us by # llvm-build. -$(LLVMBuildMakeFrag): +# +# We include a dependency on this Makefile to ensure that changes to the +# generation command get picked up. +$(LLVMBuildMakeFrag): $(PROJ_SRC_ROOT)/Makefile.rules $(Echo) Constructing LLVMBuild project information. $(Verb) $(LLVMBuildTool) \ --write-library-table $(LLVMConfigLibraryDependenciesInc) \ --write-make-fragment $(LLVMBuildMakeFrag) +# For completeness, let Make know how the extra files are generated. +$(LLVMConfigLibraryDependenciesInc): $(LLVMBuildMakeFrag) + # Include the generated Makefile fragment. # # We currently only include the dependencies for the fragment itself if we are