unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to set the Makefile directory in emacs
Date: Sat, 12 May 2007 10:48:54 +0300	[thread overview]
Message-ID: <u4pmifpnd.fsf@gnu.org> (raw)
In-Reply-To: <BAY103-DAV98EF1EBE797A91B409742A4390@phx.gbl> (lucatrv@hotmail.com)

> From: "Luca Trevisani" <lucatrv@hotmail.com>
> Date: Fri, 11 May 2007 15:56:15 +0200
> 
> Hi, I am editing a project with source files in many different
> subfolders. I wonder if I can set in emacs the default folder in wich
> the Makefile is, so that when I issue the command "make -k" emacs run it
> in the correct folder no matter where is the file I am editing.

Two possible ways:

  . Visit the Makefile and run the "make -k" command from the buffer
    that visits Makefile.

  . Instead of "make -k", use "cd /the/right/folder; make -k" as your
    compilation command.

  parent reply	other threads:[~2007-05-12  7:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-11 13:56 How to set the Makefile directory in emacs Luca Trevisani
2007-05-11 21:46 ` Peter Dyballa
2007-05-12  7:48 ` Eli Zaretskii [this message]
     [not found] <mailman.525.1178907130.32220.help-gnu-emacs@gnu.org>
2007-06-09 19:36 ` Stefan Monnier

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=u4pmifpnd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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).