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

A quick lunchtime branch :-)