man adddebug (Commandes) - modifies Makefile(s) to add debug info

NAME

adddebug - modifies Makefile(s) to add debug info

SYNOPSIS

adddebug [ -k ] [ -n ] [ -r ]

DESCRIPTION

adddebug modifies the Makefile in the current directory (and optionally in its subdirectories) to add debug info (-g3). It will also remove optimisations (-O[1-9]?), and can optionally remove -DNDEBUG and -DNO_DEBUG as well.

This utility is part of the KDE Software Development Kit.

OPTIONS

-k
Keep optimisations (do not remove -O[1-9]? flags which are removed by default).
-n
Compile without NDEBUG and NO_DEBUG being defined (this makes kdDebug calls work).
-r
Recursively search through all subdirectories of the current directory and operate on every Makefile that is found.

AUTHOR

This manual page was prepared by Ben Burton <bab@debian.org> for the Debian GNU/Linux system (but may be used by others).