added the deletion of cmake.depends in the cleaning so that it is recomputed even source files (i.e. .cxx or .h) are generated

This commit is contained in:
Franck Bettinger 2001-11-16 09:04:49 -05:00
parent 8c7b9cbf10
commit dad526aad6
1 changed files with 2 additions and 2 deletions

View File

@ -1373,11 +1373,11 @@ void cmUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
if (m_Makefile->IsOn("QT_WRAP_CPP") || m_Makefile->IsOn("QT_WRAP_UI")) if (m_Makefile->IsOn("QT_WRAP_CPP") || m_Makefile->IsOn("QT_WRAP_UI"))
{ {
this->OutputMakeRule(fout, this->OutputMakeRule(fout,
"remove generated files", "remove generated files and dependency file",
"clean", "clean",
"$(SUBDIR_CLEAN)", "$(SUBDIR_CLEAN)",
"rm -f $(CLEAN_OBJECT_FILES) $(EXECUTABLES)" "rm -f $(CLEAN_OBJECT_FILES) $(EXECUTABLES)"
" $(TARGETS) ${GENERATED_QT_FILES}"); " $(TARGETS) ${GENERATED_QT_FILES} cmake.depends");
} }
else else
{ {