fixed tests makefile
This commit is contained in:
		
							parent
							
								
									d0f145f009
								
							
						
					
					
						commit
						319a62d73f
					
				@ -8,12 +8,13 @@ OBJ_FILES := $(addprefix ./,$(notdir $(CPP_FILES:.cpp=.o)))
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
tests: $(OBJ_FILES)    
 | 
					tests: $(OBJ_FILES)    
 | 
				
			||||||
	$(CXX) $(CXXFLAGS) $(LDPFALGS) -o $@ $^
 | 
						$(CXX) $(CXXFLAGS) $(LDPFALGS) -o $@ $^
 | 
				
			||||||
 | 
						mkdir -p logs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%.o: %.cpp
 | 
					%.o: %.cpp
 | 
				
			||||||
	$(CXX) $(CXXFLAGS) -c -o $@ $<
 | 
						$(CXX) $(CXXFLAGS) -c -o $@ $<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	rm -f tests *.o logs/*     
 | 
						rm -f tests *.o logs/*.txt     
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
rebuild: clean tests
 | 
					rebuild: clean tests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user