If you use the IDE to compile your sketches then (at least this is my understanding) the makefile is not used.
In Compiler.java you find the compiler flags... this means that you have to modify this java file and build your own Arduino IDE...
But you can use the makefile with the command line tools. Copy the makefile to your sketch directory and call make... but I am not sure if the makefile is up to date.