This could be `DBG := $(if...)`, there would be no need for leading underscores (just a cosmetics remark, I don't really care).