[plug] Running make in vim: change makefile location

Rod bwarff at obsidian.com.au
Tue Jul 19 13:18:50 WST 2005


thats  not vim per se, the 'make' command looks in cwd() for the
Makefile.

i always forget to use the builtin "make" anyway, in favour of
the shell command .. which allows for more flexability, you trigger
that with a "!" command.

eg:

!make
!cd foo && make



On Tue, 2005-07-19 at 13:07 +0800, rpowersau at gmail.com wrote:
> Hi,
> 
> I believe that when you run make in vim it looks in the current
> directory for the makefile. How do I get vim to use a makefile that is
> in a different directory? 
> 
> Thanks.
> 
> -- 
> Regards,
> Russ 
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au




More information about the plug mailing list