March 11, 2009

GNU make can take advantage of multi-core systems by building conditionally independent targets in parallel. To allow up to n jobs to be executed simultaneously, call make with the the -j n argument. For example, if you have a dual-core system, try running make -j 2. This has the added benefit of uncovering missing dependencies in your Makefile since things that were previously built in a particular sequence may now be carried out in parallel.