We have a long and complicated Makefile in our build system. Is there a good way to trace exactly which targets get executed for a given make invocation?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
make -dormake --debug[=flags]options:Another option is to use remake – a patched version of GNU Make that adds improved error reporting, the ability to trace execution, and a debugger.