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

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

Re: is there a good way to do emacs project management ?


From: Pascal J. Bourguignon
Subject: Re: is there a good way to do emacs project management ?
Date: Wed, 15 Apr 2009 23:48:13 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:

> Pascal J. Bourguignon wrote:
>> halida <linjunhalida@gmail.com> writes:
>> 
>>> I use emacs to do some coding, and text editing,
>>> When I create a new coding project, I simply create a new folder,
>>> and add source code into it.
>>> The problem is, with multi-forders, it is hard to change back to the
>>> top,
>>> and run the makefile.
>> Type:  M-x compile RET C-e SPC -C
>> /path/to/the/directory/where/is/Makefile RET
>> then to recompile: M-x recompile RET
>> from any directory...
>> 
>
> I use
>
> cd /path/to/make/file  && make -f Makefile
>
> as my build command.

Indeed, this way is more portable, since it works even with non GNU make.
But:
   make -C /path/to/dir/where/makefile/is
is conceptually simplier, when you have GNU make.

-- 
__Pascal Bourguignon__


reply via email to

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