aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-29 05:20:16 +0000
committerChris Lattner <sabre@nondot.org>2001-06-29 05:20:16 +0000
commitb19e59cb8d48c9bf49473dfed4b8a3a823f96dee (patch)
tree6bd6e9ba83f26b908c94add52ebbb2bad6d1b031 /Makefile.common
parent7fc9fe34390c66ca58646d09a87f7dbaacb6c1f8 (diff)
downloadexternal_llvm-b19e59cb8d48c9bf49473dfed4b8a3a823f96dee.zip
external_llvm-b19e59cb8d48c9bf49473dfed4b8a3a823f96dee.tar.gz
external_llvm-b19e59cb8d48c9bf49473dfed4b8a3a823f96dee.tar.bz2
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
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common
index b28b499..5755ece 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)