Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make's output, the number in the brackets

What's the significance of the number in the square brackets in Make's output?

make[7]: Leaving directory '/home/mike/...'
make[6]: Leaving directory '/home/mike/...'
make[6]: Entering directory '/home/mike/...'

Is make multi threaded and this is the thread's number, or is it the level of makefile traversal, or what exactly? It's larger numbers on my big projects, but on my personal ones (with just a few source files) it's typically make[1] so I assume it has to do with the complexity.

I can't seem to find this in the documentation.

like image 776
Mike Avatar asked Oct 11 '12 14:10

Mike


1 Answers

Make has the ability to call other makefile within itself. The number in the brackets is the number of makefile called from your root makefile.

like image 153
tomahh Avatar answered Nov 20 '22 01:11

tomahh