Fixed the obnoxious problem that caused an entire directory to rebuild

even if you only change one .cpp file. Yaay

llvm-svn: 97
This commit is contained in:
Chris Lattner 2001-06-29 05:20:16 +00:00
parent 4cee8d8ffb
commit 44601ba46a
2 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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)