From e9d7d70ae76b56bb9a3a6ff043269dce4464bbc6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 22 Aug 2003 14:10:16 +0000 Subject: [PATCH] Remove last remenants of cleandeps Allow disabling generation of .d files for a whole directory llvm-svn: 8053 --- llvm/Makefile.common | 6 +++--- llvm/Makefile.rules | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/Makefile.common b/llvm/Makefile.common index b5d1e54b65f7..a524f0b9f193 100644 --- a/llvm/Makefile.common +++ b/llvm/Makefile.common @@ -818,6 +818,8 @@ clean:: # from C/C++ source files. ########################################################################### +ifndef DISABLE_AUTO_DEPENDENCIES + # If dependencies were generated for the file that included this file, # include the dependencies now... # @@ -846,6 +848,4 @@ endif endif endif -cleandeps:: - $(VERB) rm -f $(SourceDepend) - +endif # ifndef DISABLE_AUTO_DEPENDENCIES diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index b5d1e54b65f7..a524f0b9f193 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -818,6 +818,8 @@ clean:: # from C/C++ source files. ########################################################################### +ifndef DISABLE_AUTO_DEPENDENCIES + # If dependencies were generated for the file that included this file, # include the dependencies now... # @@ -846,6 +848,4 @@ endif endif endif -cleandeps:: - $(VERB) rm -f $(SourceDepend) - +endif # ifndef DISABLE_AUTO_DEPENDENCIES