From: mrf <joinlaw@cock.li>
To: Arthur Miller <arthur.miller@live.com>
Cc: help-gnu-emacs@gnu.org, mrf <joinlaw@cock.li>,
Emanuel Berg <moasenwood@zoho.eu>
Subject: Re: Running makefiles from emacs
Date: Fri, 02 Jul 2021 20:13:27 +0300 [thread overview]
Message-ID: <87wnq8eik1.fsf@cock.li> (raw)
In-Reply-To: <AM9PR09MB497781D79585C7FD056FA3D8961F9@AM9PR09MB4977.eurprd09.prod.outlook.com>
Arthur Miller writes:
> Check examples in posted C shell script. You can pass one liner she-bang
> with linker/compiler flags on that line. That is still way much less clutter
> than what you suggest with your solution :-). Sorry, but your solution
> requires you to add shell script to every c source file you wish to use
> as a "single source program" as you put it, and in addition even help
> from Emacs.
No there no need for help from emacs and compiler flags can be passed in
command line and also from the C script.
The emacs local variable line is for people to quickly run it with
M-x compile when they open it but you can take this line if you don't
use emacs and run it in the terminal.
BTW running it with ./script.c should be sufficient but I put this line
as example for passing values and compiler flags.
I'd just like to interject for a moment. My GNU/hack does not need extra
dependency as what you suggest and If I share this scripts anyone can
run it without bothering of installing new dependency.
next prev parent reply other threads:[~2021-07-02 17:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 0:07 Running makefiles from emacs lisa-asket
2021-06-28 0:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-28 2:13 ` lisa-asket
2021-06-28 4:14 ` mrf
2021-06-29 10:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-29 10:59 ` mrf
2021-06-30 19:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-30 19:49 ` mrf
2021-07-01 8:39 ` Arthur Miller
2021-07-01 9:33 ` mrf
2021-07-01 18:18 ` Arthur Miller
2021-07-02 8:13 ` mrf
2021-07-02 9:00 ` Arthur Miller
2021-07-02 17:13 ` mrf [this message]
2021-07-02 18:24 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-02 4:32 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-01 18:55 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-02 7:44 ` mrf
2021-07-02 11:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-28 10:37 ` Arthur Miller
2021-06-28 14:05 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnq8eik1.fsf@cock.li \
--to=joinlaw@cock.li \
--cc=arthur.miller@live.com \
--cc=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).