From aa6ec735cf519c0cd023a5a920081bf161a328cd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 7 Nov 2001 14:50:58 +0000 Subject: [PATCH] 1. -Winline emits spurious warnings that aren't useful right now 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 | 3 ++- Makefile.rules | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.common b/Makefile.common index 921695c67d2..95f3aa9f098 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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 diff --git a/Makefile.rules b/Makefile.rules index 921695c67d2..95f3aa9f098 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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