New beginner need help in compiling multiple files

The Lazy Foo tutorials include information about how to organize and setup your projects to build correctly.
A simple tip - you shouldn’t have to add files in individually.

A better place to ask questions, with 1000’s of more people looking to help you out - would be gamedev.net http://www.gamedev.net/forum/31-for-beginners/