unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Paulo J. Matos" <pocmatos@gmail.com>
Subject: Compiling C++ in Emacs (read Compiling and Testing...)
Date: Thu, 3 Aug 2006 00:06:15 +0100	[thread overview]
Message-ID: <11b141710608021606k479d494buea3554302987457e@mail.gmail.com> (raw)

Hi all,

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.

How can I pass the directory where the make command should be run?

Cheers,

-- 
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group

             reply	other threads:[~2006-08-02 23:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-02 23:06 Paulo J. Matos [this message]
2006-08-03  9:22 ` Compiling C++ in Emacs (read Compiling and Testing...) Peter Dyballa
2006-08-03 13:35 ` Kevin Rodgers
     [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=11b141710608021606k479d494buea3554302987457e@mail.gmail.com \
    --to=pocmatos@gmail.com \
    --cc=pocm@sat.inesc-id.pt \
    /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).