add CFLAGS += -O0 to turn off optimization