| 
									
										
										
										
											2018-04-06 04:36:22 +03:00
										 |  |  | CXX	= clang++ | 
					
						
							|  |  |  | CXXFLAGS	= -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -I../include | 
					
						
							|  |  |  | CXX_RELEASE_FLAGS = -O2 | 
					
						
							|  |  |  | CXX_DEBUG_FLAGS= -g  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-26 02:00:33 +03:00
										 |  |  | all:	example  | 
					
						
							|  |  |  | debug: example-debug  | 
					
						
							| 
									
										
										
										
											2018-04-06 04:36:22 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | example: example.cpp | 
					
						
							|  |  |  | 	$(CXX) example.cpp -o example-clang $(CXXFLAGS) $(CXX_RELEASE_FLAGS) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | example-debug: example.cpp | 
					
						
							|  |  |  | 	$(CXX) example.cpp -o example-clang-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | clean: | 
					
						
							| 
									
										
										
										
											2018-06-26 02:00:33 +03:00
										 |  |  | 	rm -f *.o logs/*.txt example-clang example-clang-debug  | 
					
						
							| 
									
										
										
										
											2018-04-06 04:36:22 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rebuild: clean all | 
					
						
							|  |  |  | rebuild-debug: clean debug | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 |