Browse Source

Added a make depend in the clean rule to refresh the dependencies

Franck Bettinger 24 years ago
parent
commit
3e16ec5eda
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmUnixMakefileGenerator.cxx

+ 2 - 1
Source/cmUnixMakefileGenerator.cxx

@@ -1377,7 +1377,8 @@ void cmUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
                          "clean",
                          "$(SUBDIR_CLEAN)",
                          "rm -f $(CLEAN_OBJECT_FILES) $(EXECUTABLES)"
-                         " $(TARGETS) ${GENERATED_QT_FILES}");
+                         " $(TARGETS) ${GENERATED_QT_FILES}",
+                         "make depend");
     }
   else  
     {