Moved Makefile to haversine directory
This commit is contained in:
		
							
								
								
									
										20
									
								
								haversine/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								haversine/Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
mk_haversine_fscanf:
 | 
			
		||||
	clang++ -g cpp/fscanf.cpp cpp/haversine.cpp -o cpp/haverscan
 | 
			
		||||
 | 
			
		||||
run_haversine_fscanf:
 | 
			
		||||
	cd ./cpp && ./haverscan
 | 
			
		||||
 | 
			
		||||
mk_haversine_strtok:
 | 
			
		||||
	clang++ -g cpp/strtok.cpp cpp/haversine.cpp -o cpp/haverstrtok
 | 
			
		||||
 | 
			
		||||
run_haversine_strtok:
 | 
			
		||||
	cd ./cpp && ./haverstrtok
 | 
			
		||||
 | 
			
		||||
mk_test:
 | 
			
		||||
	clang++ -g -lpthread cpp/test.cpp cpp/haversine.cpp -o cpp/test
 | 
			
		||||
 | 
			
		||||
run_test:
 | 
			
		||||
	cd ./cpp && ./test
 | 
			
		||||
 | 
			
		||||
run_haversine_python_json:
 | 
			
		||||
	python ./python/haversine_json.py
 | 
			
		||||
		Reference in New Issue
	
	Block a user