made DEBUG control CFLAGS in Makefiles other than stm as well.

A quick lunchtime branch :-)