[SATLUG] .config file for make or scripts?
dkowis at shlrm.org
Wed Apr 7 18:29:29 CDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the SATLUG