prasad
prasad

Reputation: 229

How to find name of dependencies which cause make to build

I am using GNU MAKE tool for building my embedded C project. Whenever I build using make command it always rebuild entire project even though there is no change.

Is there any way I can find which dependencies files are causing make to rebuild.

Upvotes: 2

Views: 546

Answers (1)

Florian Weimer
Florian Weimer

Reputation: 33747

make -d shows some of the internal workings of make. It is a lot of data, though, but it usually allows one to pinpoint why the rebuilds happen.

Upvotes: 1

Related Questions