0

Is there any way to set system or user wide that make always uses -j3 parameter?

2 Answers 2

0

You could just do

alias make="/usr/bin/make -j3"
3
  • 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
  • OK - have you tried setting CFLAGS to "-j3"? Commented Mar 30, 2012 at 14:57
  • It is not compiler flag Commented Mar 30, 2012 at 14:58
1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .