2023-01-12 13:32:19 -06:00
|
|
|
INC := -I include
|
2023-02-11 19:22:37 -06:00
|
|
|
STD := -std=c++11
|
2023-01-12 13:32:19 -06:00
|
|
|
|
2023-01-11 12:09:03 -06:00
|
|
|
main: compile link
|
|
|
|
|
|
|
|
compile:
|
2023-02-11 19:22:37 -06:00
|
|
|
g++ $(INC) $(STD) -c -o build/main.o src/main.cpp
|
2023-03-06 21:54:40 -06:00
|
|
|
g++ $(INC) $(STD) -c -o build/interface.o src/interface.cpp
|
2023-03-05 03:05:41 -06:00
|
|
|
g++ $(INC) $(STD) -c -o build/sort_controller.o src/sort_controller.cpp
|
|
|
|
g++ $(INC) $(STD) -c -o build/basic_sorts.o src/basic_sorts.cpp
|
|
|
|
g++ $(INC) $(STD) -c -o build/trees.o src/trees.cpp
|
2023-01-11 12:09:03 -06:00
|
|
|
|
|
|
|
link:
|
2023-01-11 12:33:46 -06:00
|
|
|
g++ -o bin/main.out build/*.o
|
2023-01-19 13:04:06 -06:00
|
|
|
|
2023-02-11 19:22:37 -06:00
|
|
|
test: main
|
|
|
|
bin/main.out -a > test/SortTimes.txt
|
|
|
|
test/CheckSortedOutputs.sh
|
|
|
|
|
2023-01-19 13:04:06 -06:00
|
|
|
clean:
|
|
|
|
rm build/*.o bin/*.out test/OUTPUT/*.txt
|