nitdoc: Do the same job but for all modules linked to a program

Signed-off-by: Stefan Lage <lagestfan@gmail.com>