Updated README.md, fixed merge sort, added checking output with bash script, and added sort arguments
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
INC := -I include
|
||||
STD := -std=c++11
|
||||
|
||||
main: compile link
|
||||
|
||||
compile:
|
||||
g++ $(INC) -c -o build/main.o src/main.cpp
|
||||
g++ $(INC) -c -o build/sorts.o src/sorts.cpp
|
||||
g++ $(INC) $(STD) -c -o build/main.o src/main.cpp
|
||||
g++ $(INC) $(STD) -c -o build/sorts.o src/sorts.cpp
|
||||
|
||||
link:
|
||||
g++ -o bin/main.out build/*.o
|
||||
|
||||
test: main
|
||||
bin/main.out -a > test/SortTimes.txt
|
||||
test/CheckSortedOutputs.sh
|
||||
|
||||
clean:
|
||||
rm build/*.o bin/*.out test/OUTPUT/*.txt
|
||||
|
||||
Reference in New Issue
Block a user