From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Compiling C++ in Emacs (read Compiling and Testing...)
Date: Thu, 03 Aug 2006 07:35:30 -0600 [thread overview]
Message-ID: <easu3u$5mo$2@sea.gmane.org> (raw)
In-Reply-To: <11b141710608021606k479d494buea3554302987457e@mail.gmail.com>
Paulo J. Matos wrote:
> I'm probably missing something. I have a dir: software/prog/ where I
> have a Makefile and some sources managed by autotools (which generate
> the Makefile).
> Then I have software/prog-build, where I run: ../prog/configure ... etc.
> This way I'm editing in software/prog and running make in
> software/prog-build.
>
> My guess is if I do M-x compile, make will run in software/prog where
> there is not any makefile, because after all, there's where the file
> is being edited.
Above, you said software/prog is where the Makefile resides.
> How can I pass the directory where the make command should be run?
M-x compile RET
C-a C-k
cd /directory/to/run/in && make target
--
Kevin
next prev parent reply other threads:[~2006-08-03 13:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-02 23:06 Compiling C++ in Emacs (read Compiling and Testing...) Paulo J. Matos
2006-08-03 9:22 ` Peter Dyballa
2006-08-03 13:35 ` Kevin Rodgers [this message]
[not found] ` <mailman.4804.1154612421.9609.help-gnu-emacs@gnu.org>
2006-08-05 15:30 ` Miles Bader
2006-08-05 17:07 ` Paulo J. Matos
[not found] ` <mailman.4899.1154797668.9609.help-gnu-emacs@gnu.org>
2006-08-07 6:49 ` Hadron Quark
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='easu3u$5mo$2@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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).