If you have been using my Makefile for Arduino sketches I've been updating it regularly with bug fixes and improvements. The latest version includes:
bindirectory, avrdude config file and avrdude path made configurable.
- Single-file sketches weren't building properly.
- Listing file now generated for the final binary image.
You can find the current version of the Makefile.master here.