sorting-algorithms/Makefile

19 lines
336 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/sorts.o src/sorts.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