fixed tests make file
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
				
			|||||||
CXX	?= g++
 | 
					CXX	?= g++
 | 
				
			||||||
CXXFLAGS	=  -Wall  -pedantic -std=c++11 -pthread -Wl,--no-as-needed -O2
 | 
					CXXFLAGS	=  -Wall  -pedantic -std=c++11 -pthread -O2
 | 
				
			||||||
LDPFALGS = -pthread -flto
 | 
					LDPFALGS = -pthread
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CPP_FILES := $(wildcard *.cpp)
 | 
					CPP_FILES := $(wildcard *.cpp)
 | 
				
			||||||
OBJ_FILES := $(addprefix ./,$(notdir $(CPP_FILES:.cpp=.o)))
 | 
					OBJ_FILES := $(addprefix ./,$(notdir $(CPP_FILES:.cpp=.o)))
 | 
				
			||||||
@@ -10,7 +10,7 @@ tests: $(OBJ_FILES)
 | 
				
			|||||||
	$(CXX) $(CXXFLAGS) $(LDPFALGS) -o $@ $^
 | 
						$(CXX) $(CXXFLAGS) $(LDPFALGS) -o $@ $^
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%.o: %.cpp
 | 
					%.o: %.cpp
 | 
				
			||||||
	g++ $(CXXFLAGS) -c -o $@ $<
 | 
						$(CXX) $(CXXFLAGS) -c -o $@ $<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	rm -f tests *.o logs/*     
 | 
						rm -f tests *.o logs/*     
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user