I've recently started learning about makefiles, and the video I'm watching includes a compilation if two source files and a header file. A class was defined in the header file, which was included in both source files. A method for the class was defined in one source file and was called in the second (main.cpp). Why would I ever need to have 2 source files (.c/.cpp)?