remove extra logic not needed anymore because of better depends
This commit is contained in:
parent
c88408141b
commit
0358cc83d0
@ -1577,28 +1577,13 @@ void cmUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
|
|||||||
"all",
|
"all",
|
||||||
"cmake.depends $(TARGETS) $(SUBDIR_BUILD)",
|
"cmake.depends $(TARGETS) $(SUBDIR_BUILD)",
|
||||||
0);
|
0);
|
||||||
if (m_Makefile->IsOn("QT_WRAP_CPP") ||
|
this->OutputMakeRule(fout,
|
||||||
m_Makefile->IsOn("QT_WRAP_UI") ||
|
"remove generated files",
|
||||||
m_Makefile->IsOn("FLTK_WRAP_UI") )
|
"clean",
|
||||||
{
|
"$(SUBDIR_CLEAN)",
|
||||||
this->OutputMakeRule(fout,
|
"-@ $(RM) $(CLEAN_OBJECT_FILES) $(EXECUTABLES)"
|
||||||
"remove generated files and dependency file",
|
" $(TARGETS) $(GENERATED_QT_FILES) $(GENERATED_FLTK_FILES)");
|
||||||
"clean",
|
|
||||||
"$(SUBDIR_CLEAN)",
|
|
||||||
"-@ $(RM) $(CLEAN_OBJECT_FILES) $(EXECUTABLES)"
|
|
||||||
" $(TARGETS) ${GENERATED_QT_FILES}"
|
|
||||||
" ${GENERATED_FLTK_FILES}",
|
|
||||||
"make depend");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this->OutputMakeRule(fout,
|
|
||||||
"remove generated files",
|
|
||||||
"clean",
|
|
||||||
"$(SUBDIR_CLEAN)",
|
|
||||||
"-@ $(RM) $(CLEAN_OBJECT_FILES) $(EXECUTABLES)"
|
|
||||||
" $(TARGETS)");
|
|
||||||
}
|
|
||||||
// collect up all the sources
|
// collect up all the sources
|
||||||
std::string allsources;
|
std::string allsources;
|
||||||
std::map<cmStdString, cmTarget>& targets = m_Makefile->GetTargets();
|
std::map<cmStdString, cmTarget>& targets = m_Makefile->GetTargets();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user