help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling C++ in Emacs (read Compiling and Testing...)


From: Paulo J. Matos
Subject: Compiling C++ in Emacs (read Compiling and Testing...)
Date: Thu, 3 Aug 2006 00:06:15 +0100

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 via email to

[Prev in Thread] Current Thread [Next in Thread]