Makefile: replace EXTRA_CFLAGS with ccflags-y

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
Makefile: add debug option

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>