I have the following makefile for my project, and I\'d like to configure it for release and debug builds. In my code, I have lots of #ifdef DEBUG macros in plac
#ifdef DEBUG
You could also add something simple to your Makefile such as
ifeq ($(DEBUG),1) OPTS = -g endif
Then compile it for debugging
make DEBUG=1