sorting-algorithms/Makefile

22 lines
535 B
Makefile
Raw Normal View History

INC := -I include
STD := -std=c++11
2023-01-11 12:09:03 -06:00
main: compile link
compile:
g++ $(INC) $(STD) -c -o build/main.o src/main.cpp
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
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