Is there any way to set system or user wide that make always uses -j3 parameter?
2 Answers
You could just do
alias make="/usr/bin/make -j3"
-
That will work only in shell, it may not work in IDE like QtCreator but it's one of options. I thought gnumake has some kind of config file Commented Mar 30, 2012 at 14:38
-
-
Create a script named make
that calls the real make with -j3 and then the other command line parameters. Modify your path so the script is found before the real make, or you could rename the real make to /usr/bin/make.real
and place your script in /usr/bin
.