Here is a STM32 project template that I based off of http://www.micromouseonline.com/blog/2009/10/19/another-stm32-project-template.

I made some changes to it to get it working for my purposes and the CodeSourcery G++ lite (EABI) compiler.

http://github.com/kdar/STM32-HD-Project-template