The question is as the title, I'm compiling a quite big code and want to have a debug option only when compiled with such option.
I'm using make to compile and I add the compile option on my debug rule:
debug: main
$(eval CFLAGS := -D_DEBUG_)
What I could not do was use this _DEBUG_
macro inside the code to then print some debug info.