Just in case someone encounters the same problem as me:
Eclipse fails to build correctly when one of your folders has the same name as the executable. If this is the case, no matter what you do, you will always get the "nothing to be done" message. The solution is to rename either the folder or executable. Details can be found here.