Striving for greatness

Thoughts on emerging tech, open source, and life

[Gentoo] Fixing parallel make

I’ve been trying to fix the Makefile for Gabedit, a computational chemistry GUI, for a few days. It was completely broken for parallel builds (make -j#). Finally I came across an excellent post by GNU make maintainer Paul D. Smith that allowed me to fix the problems. The key was a make-defined variable called MAKECMDGOALS, which is defined to whatever targets were set on the command line.

Advertisements

Written by Donnie Berkholz

February 13, 2006 at 9:58 pm

Posted in Uncategorized

%d bloggers like this: