1. -Winline emits spurious warnings that aren't useful right now
authorChris Lattner <sabre@nondot.org>
Wed, 7 Nov 2001 14:50:58 +0000 (14:50 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Nov 2001 14:50:58 +0000 (14:50 +0000)
2. Fix the "rebuild everything if I change one file" problem

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1176 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.common
Makefile.rules

index 921695c67d29add769fc8d966402b2eaa9256a94..95f3aa9f0980fda0464969ee8583c726a4b980c2 100644 (file)
@@ -52,7 +52,7 @@ RunBurg  = $(BURG) $(BURG_OPTS)
 #Prof = -pg
 
 # TODO: Get rid of exceptions! : -fno-exceptions -fno-rtti
-CompileCommonOpts = $(Prof) -Wall -Winline -W  -Wwrite-strings -Wno-unused -I$(LEVEL)/include
+CompileCommonOpts = $(Prof) -Wall -W  -Wwrite-strings -Wno-unused -I$(LEVEL)/include
 
 # Compile a file, don't link...
 Compile  = $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts)
@@ -194,6 +194,7 @@ endif
 
 
 #---------------------------------------------------------
+.PRECIOUS: Depend/.dir Debug/.dir Release/.dir
 
 # Create dependencies for the *.cpp files...
 Depend/%.d: %.cpp Depend/.dir
index 921695c67d29add769fc8d966402b2eaa9256a94..95f3aa9f0980fda0464969ee8583c726a4b980c2 100644 (file)
@@ -52,7 +52,7 @@ RunBurg  = $(BURG) $(BURG_OPTS)
 #Prof = -pg
 
 # TODO: Get rid of exceptions! : -fno-exceptions -fno-rtti
-CompileCommonOpts = $(Prof) -Wall -Winline -W  -Wwrite-strings -Wno-unused -I$(LEVEL)/include
+CompileCommonOpts = $(Prof) -Wall -W  -Wwrite-strings -Wno-unused -I$(LEVEL)/include
 
 # Compile a file, don't link...
 Compile  = $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts)
@@ -194,6 +194,7 @@ endif
 
 
 #---------------------------------------------------------
+.PRECIOUS: Depend/.dir Debug/.dir Release/.dir
 
 # Create dependencies for the *.cpp files...
 Depend/%.d: %.cpp Depend/.dir