Re: [Linuxptp-users] How to use DEBUG = -DDEBUG
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2013-05-31 14:13:36
|
On Fri, May 31, 2013 at 02:42:39PM +0200, Drasko DRASKOVIC wrote: > Hi all, > I know that -l9 command line switch gives a verbose output. > > Still, I have been wondering what is DEBUG flag in Makefile used for > and how to enable debugging messages? The DEBUG makefile variable can be used for adding extra CFLAGS, like '-g' for debug symbols. > I tried with DEBUG = -DDEBUG, but I did not noticed change. That is because there is no #ifdef DEBUG anywhere in the code. And, seriously, you could find that out for yourself by looking. Richard |