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
This commit is contained in:
Chris Lattner 2001-06-29 05:20:16 +00:00
parent 7fc9fe3439
commit b19e59cb8d
2 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@
# in the current directory. # in the current directory.
# #
# Default Rule: # Default Rule: Make sure it's also a :: rule
all :: all ::
# Default for install is to at least build everything... # Default for install is to at least build everything...
@ -115,11 +115,11 @@ all:: $(LIBNAME_G)
#$(LIBNAME_O) #$(LIBNAME_O)
# TODO: Enable optimized builds # TODO: Enable optimized builds
$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir $(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir Depend/.dir
@echo ======= Linking $(LIBRARYNAME) release library ======= @echo ======= Linking $(LIBRARYNAME) release library =======
$(MakeSOO) -o $@ $(ObjectsO) $(LibSubDirs) $(LibLinkOpts) $(MakeSOO) -o $@ $(ObjectsO) $(LibSubDirs) $(LibLinkOpts)
$(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir $(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir Depend/.dir
@echo ======= Linking $(LIBRARYNAME) debug library ======= @echo ======= Linking $(LIBRARYNAME) debug library =======
$(MakeSOG) -o $@ $(ObjectsG) $(LibSubDirs) $(LibLinkOpts) $(MakeSOG) -o $@ $(ObjectsG) $(LibSubDirs) $(LibLinkOpts)

View File

@ -20,7 +20,7 @@
# in the current directory. # in the current directory.
# #
# Default Rule: # Default Rule: Make sure it's also a :: rule
all :: all ::
# Default for install is to at least build everything... # Default for install is to at least build everything...
@ -115,11 +115,11 @@ all:: $(LIBNAME_G)
#$(LIBNAME_O) #$(LIBNAME_O)
# TODO: Enable optimized builds # TODO: Enable optimized builds
$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir $(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir Depend/.dir
@echo ======= Linking $(LIBRARYNAME) release library ======= @echo ======= Linking $(LIBRARYNAME) release library =======
$(MakeSOO) -o $@ $(ObjectsO) $(LibSubDirs) $(LibLinkOpts) $(MakeSOO) -o $@ $(ObjectsO) $(LibSubDirs) $(LibLinkOpts)
$(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir $(LIBNAME_G): $(ObjectsG) $(LibSubDirs) Debug/.dir Depend/.dir
@echo ======= Linking $(LIBRARYNAME) debug library ======= @echo ======= Linking $(LIBRARYNAME) debug library =======
$(MakeSOG) -o $@ $(ObjectsG) $(LibSubDirs) $(LibLinkOpts) $(MakeSOG) -o $@ $(ObjectsG) $(LibSubDirs) $(LibLinkOpts)