summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorFranck Bettinger <bettingf@cs.man.ac.uk>2001-11-16 18:08:03 (GMT)
committerFranck Bettinger <bettingf@cs.man.ac.uk>2001-11-16 18:08:03 (GMT)
commit3e16ec5edaa83eb2e3f59c5e71271e380762b5ae (patch)
treeb563eba98e37dfa58a4a78ed4a9b2b6bb668914c /Source/cmUnixMakefileGenerator.cxx
parentd66eb731a92a152737fe3f44b26d0a71aa46acce (diff)
downloadCMake-3e16ec5edaa83eb2e3f59c5e71271e380762b5ae.zip
CMake-3e16ec5edaa83eb2e3f59c5e71271e380762b5ae.tar.gz
CMake-3e16ec5edaa83eb2e3f59c5e71271e380762b5ae.tar.bz2
Added a make depend in the clean rule to refresh the dependencies
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index dfdfe64..05d5a36 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/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
{