For bash:
alias make="nice make -j $(grep 'processor' /proc/cpuinfo | wc -l)"
make -l (--load-average) will throttle the number of make jobs, so you can specify a big -j to have many ready jobs but ensure you don't exceed run more than your number of CPUs.
> grep 'processor' /proc/cpuinfo | wc -l
or use "grep -c" instead of piping through wc
Alternately you can run -j without an argument and it won't set a limit on the number of jobs it kicks off.
Even if you have unilmited RAM, at some point context switching overhead will slow down the process as you add extra simultaneous jobs. Moreover, with the Linux BFS scheduler, optimum performace is achieved when the number of jobs is equal to the number of CPUs.
Be careful with that one. I left a very beefy (32 cores, 64GB ram) CS department server unresponsive for several minutes doing that with the linux kernel.