[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running makefiles from emacs
From: |
lisa-asket |
Subject: |
Running makefiles from emacs |
Date: |
Mon, 28 Jun 2021 04:13:21 +0200 (CEST) |
So if I do "M-x compile" emacs will ren the makefile in the directory where the
file in the buffer resides?
Looks like you change the default parameters for make to include "-j 4 -s -k ".
Setting "compilation-scroll-output" scrolls the buffer automatically to always
display the most recent text.
From: Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Running makefiles from emacs
Date: 28/06/2021 02:58:06 Europe/Paris
lisa-asket wrote:
> How can I run a makefile using an emacs command, perhaps
> a function. What suggestions would you have?
M-x compile RET
If you do that a lot assign a keybinding...
The default command for `compile' is "make", I have changed
that like this
(setq compile-command "make -j 4 -s -k ")
(setq compilation-read-command nil)
This is maybe useful as well
(setq compilation-scroll-output t)
--
underground experts united
https://dataswamp.org/~incal
Running makefiles from emacs,
lisa-asket <=
Re: Running makefiles from emacs, Arthur Miller, 2021/06/28