mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -52,7 +52,7 @@ RunBurg  = $(BURG) $(BURG_OPTS) | |||||||
| #Prof = -pg | #Prof = -pg | ||||||
|  |  | ||||||
| # TODO: Get rid of exceptions! : -fno-exceptions -fno-rtti | # 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 a file, don't link... | ||||||
| Compile  = $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts) | Compile  = $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts) | ||||||
| @@ -194,6 +194,7 @@ endif | |||||||
|  |  | ||||||
|  |  | ||||||
| #--------------------------------------------------------- | #--------------------------------------------------------- | ||||||
|  | .PRECIOUS: Depend/.dir Debug/.dir Release/.dir | ||||||
|  |  | ||||||
| # Create dependencies for the *.cpp files... | # Create dependencies for the *.cpp files... | ||||||
| Depend/%.d: %.cpp Depend/.dir | Depend/%.d: %.cpp Depend/.dir | ||||||
|   | |||||||
| @@ -52,7 +52,7 @@ RunBurg  = $(BURG) $(BURG_OPTS) | |||||||
| #Prof = -pg | #Prof = -pg | ||||||
|  |  | ||||||
| # TODO: Get rid of exceptions! : -fno-exceptions -fno-rtti | # 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 a file, don't link... | ||||||
| Compile  = $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts) | Compile  = $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts) | ||||||
| @@ -194,6 +194,7 @@ endif | |||||||
|  |  | ||||||
|  |  | ||||||
| #--------------------------------------------------------- | #--------------------------------------------------------- | ||||||
|  | .PRECIOUS: Depend/.dir Debug/.dir Release/.dir | ||||||
|  |  | ||||||
| # Create dependencies for the *.cpp files... | # Create dependencies for the *.cpp files... | ||||||
| Depend/%.d: %.cpp Depend/.dir | Depend/%.d: %.cpp Depend/.dir | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user