hmmm. Haven't had to write a makefile in many years. From what I remember, you use it to specify your program source files, how they are to be converted into their respective object files, and how those object files are going to be put together to make the executable.
I remember nearly being brought to tears a few times because of them buggers