From b19e59cb8d48c9bf49473dfed4b8a3a823f96dee Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 29 Jun 2001 05:20:16 +0000 Subject: [PATCH] Fixed the obnoxious problem that caused an entire directory to rebuild even if you only change one .cpp file. Yaay git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.common | 6 +++--- Makefile.rules | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.common b/Makefile.common index b28b4997f61..5755ece34d9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -20,7 +20,7 @@ # in the current directory. # -# Default Rule: +# Default Rule: Make sure it's also a :: rule all :: # Default for install is to at least build everything... @@ -115,11 +115,11 @@ all:: $(LIBNAME_G) #$(LIBNAME_O) # TODO: Enable optimized builds -$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir +$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir Depend/.dir @echo ======= Linking $(LIBRARYNAME) release library ======= $(MakeSOO) -o $@ $(ObjectsO) $(LibSubDirs) $(LibLinkOpts) -$(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir +$(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir Depend/.dir @echo ======= Linking $(LIBRARYNAME) debug library ======= $(MakeSOG) -o $@ $(ObjectsG) $(LibSubDirs) $(LibLinkOpts) diff --git a/Makefile.rules b/Makefile.rules index b28b4997f61..5755ece34d9 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -20,7 +20,7 @@ # in the current directory. # -# Default Rule: +# Default Rule: Make sure it's also a :: rule all :: # Default for install is to at least build everything... @@ -115,11 +115,11 @@ all:: $(LIBNAME_G) #$(LIBNAME_O) # TODO: Enable optimized builds -$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir +$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir Depend/.dir @echo ======= Linking $(LIBRARYNAME) release library ======= $(MakeSOO) -o $@ $(ObjectsO) $(LibSubDirs) $(LibLinkOpts) -$(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir +$(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir Depend/.dir @echo ======= Linking $(LIBRARYNAME) debug library ======= $(MakeSOG) -o $@ $(ObjectsG) $(LibSubDirs) $(LibLinkOpts)