unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pzehnder <philipp.zehnder@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: cc-mode + compilation
Date: Wed, 22 Aug 2007 04:12:49 -0700	[thread overview]
Message-ID: <1187781169.466605.300430@j4g2000prf.googlegroups.com> (raw)
In-Reply-To: <f8f8od$gov$1@aioe.org>

On Jul 28, 12:52 pm, David Trallero <dit...@gmail.com> wrote:
> I would appreciate if there is a way in which I could compile my "C"
> project (just execute a make) without care about the directory or file I
> am editing. For example, if my project is in ~/my_projects/prjA/ and I
> am editing /tmp/foo.txt, I would like to make something like: M-x
> (re)compile-prj and execute a simple make.
>
> I tried M-x compile and then to write as command: cd ~/my_projects/prjA
> ; make, but seems emacs is not always able to locate correctly the error
> and warning messages (this is something I tried time ago and I do not
> remember in which cases it did not work fine).
>
> Is there also any emacs-package that use speed-bar to present the
> "project" files (I assume there must be an interface to add and delete
> files from the "project")?
>
> Thanks a lot,
> David

Try this:

make -C ~/my_projects/prjA

      parent reply	other threads:[~2007-08-22 11:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-28 10:52 cc-mode + compilation David Trallero
2007-07-28 12:24 ` Hadron
2007-07-28 18:37   ` David Trallero
2007-07-29 12:18     ` Hadron
2007-07-30  9:04       ` David Trallero
2007-07-30 11:50         ` Hadron
2007-08-22 11:12 ` pzehnder [this message]

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=1187781169.466605.300430@j4g2000prf.googlegroups.com \
    --to=philipp.zehnder@gmail.com \
    --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).