Changing optimization levels - make file?

Hi All...

I have a need to change the optimization flags in a project, and clearly the Arduino IDE does not allow that. I have been searching around for a command line build system that works on Windows, but no luck so far. Does anyone have a make file that works on Windows, of some other build system that allows more control over the compiler?

Thanks...

1.5.2 allows modifying the options, the file with the presets is located here:

D:\arduino-1.5.2\hardware\arduino\avr\platform.txt

Obvoiusly replace D:\ with your install location.

In the Development :: Other Software Development section, there have been several threads about using make files. I'm surprised that you weren't able to find something.

Here's one, for instance:
http://forum.arduino.cc/index.php?topic=169859.0

Thanks guys, I'll check both those out...

This Instructable may help.