Remove test- prefix from examples make targets
This commit is contained in:
		
							parent
							
								
									c44ca12d57
								
							
						
					
					
						commit
						630e301e76
					
				@ -4,20 +4,20 @@ CXX_RELEASE_FLAGS = -O3 -flto
 | 
				
			|||||||
CXX_DEBUG_FLAGS= -g 
 | 
					CXX_DEBUG_FLAGS= -g 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
all:	test-example test-bench
 | 
					all:	example bench
 | 
				
			||||||
debug: test-example-debug test-bench-debug
 | 
					debug:	example-debug bench-debug
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test-example: example.cpp
 | 
					example: example.cpp
 | 
				
			||||||
	$(CXX) example.cpp -o example $(CXXFLAGS) $(CXX_RELEASE_FLAGS)
 | 
						$(CXX) example.cpp -o example $(CXXFLAGS) $(CXX_RELEASE_FLAGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test-bench: bench.cpp
 | 
					bench: bench.cpp
 | 
				
			||||||
	$(CXX) bench.cpp -o bench $(CXXFLAGS) $(CXX_RELEASE_FLAGS)
 | 
						$(CXX) bench.cpp -o bench $(CXXFLAGS) $(CXX_RELEASE_FLAGS)
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test-example-debug: example.cpp
 | 
					example-debug: example.cpp
 | 
				
			||||||
	$(CXX) example.cpp -o example-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS)
 | 
						$(CXX) example.cpp -o example-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS)
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
test-bench-debug: bench.cpp
 | 
					bench-debug: bench.cpp
 | 
				
			||||||
	$(CXX) bench.cpp -o bench-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS)	
 | 
						$(CXX) bench.cpp -o bench-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS)	
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user