If you already have Main.cpp compiled, it would be more efficient to use
Code:
g++ CheckAccount.cpp SavingsAccount.cpp Main.o -omyexe
so that you don't have to compile Main.cpp again.

It becomes very difficult to keep track of what needs to be compiled, and that's why make was written.