Moved Makefile to haversine directory

This commit is contained in:
2023-03-05 00:38:07 +00:00
parent 948eef0b4a
commit e6b8315ca9
2 changed files with 20 additions and 20 deletions

20
haversine/Makefile Normal file
View 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