-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 4/7/2010 6:23 PM, John D Choate wrote:
> I'm looking for a way to do 'make --jobs=4' simply by typing 'make'.
> Is there any .conf file I can edit to make this the normal 'make'
> behavior? Or should I just create a script, such as 'mj4', containing
> that command, and run 'mj4' instead of 'make'? I guess I should
> probably do this... besides, it would be a shorter command to type
> anyway. I suppose I should create 'mj3' and 'mj2' as well, and
> similar scripts for 'make install' too. In any case. I will make
> those scripts, but I still would like to know if there is any way to
> modify the configuration for the make command.
>
I don't know of any specific configuration for global make configuration
but in ~/.bashrc you can do alias make="make -j 4 "
And then make will always be that. Know though that some things don't
always build with multiple make jobs.
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGcBAEBAgAGBQJLvRVZAAoJEMnf+vRw63ObLvwL/ia5q5IuldjAemvYH0gj2Kgk
sVCFCzVTg8zhxgc6R7xPFGXzhurx9+isTtjvHzVZn+CX0SV81WGpiTD1YXC58oIH
eNR0Jx7sXSJmfGnvI9QvTwwHWIE5oV3b071dk707Ct3sIUipVYKzyLApOAHzE6MB
uqxVz6MTXW8iGiYcwb2Ua0WFZwdQ4T79OHXwO87rYeSCh9PbA9/VlCIfClk3Gebu
xeelTPiAeXesbbk1aNoKGFEWFC8kIByRvhZ9WbJ6i6YZV++n3tdMkCWbusRlAhlK
b8h+PSq1M4PIPdjqhq7FeSrGx9AiDla4A0d9vK/czPGV5dIkHlOl+PFBlrjz9J8y
LSLy31CRE900spuTkFbe4y8b+ylFPk6+HCunScMvSIsZ1mYUAO8GZvjJ5DU14/iX
+89UGiW7vsA9CSnMbc0wXxPOOB+vQOTRLlccG3O5EOrCbUtlrQQrLlwbvuDDUAP2
XY/lZYDqIknfPG37ZY/1wtPdHpibUiMQUNqD2bKVEQ==
=fyLV
-----END PGP SIGNATURE-----