Makefiles:
Some good tutorials can be found by googling - I'm not telling you to RTFM/STFW, but maybe you looked at makefiles a long time ago, because I know when I made my first makefile, there wasn't many good tutorials indexed by google at the time.
An example, simple (don't be scared...