add makefile

parent 81366b91
main:main.o sorting.o
g++ main.o sorting.o -o main
main.o: main.cpp
g++ -c main.cpp
sorting.o: sorting.cpp sorting.h
g++ -c sorting.cpp
.PHONY: clean
rm main.o sorting.o
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment