i think the true insanity lies within the mind of the developer whose build system depends on the number of jobs being ran in parallel..!
interesting academic exercise though. unless i'm mistaken, this will only detect up to 32 build jobs? i'd hate to see the Makefile that works for arbitrary values..