[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to embed the current buffer name into the compile-comand
From: |
moonrie |
Subject: |
how to embed the current buffer name into the compile-comand |
Date: |
Thu, 02 Aug 2007 22:00:01 -0700 |
User-agent: |
G2/1.0 |
i have got my compile-command like *g++ -Wall a.cpp && ./a.out",
however, if i am coding b.cpp, i gotta change it from a.cpp to b.cpp.
so, can emacs do this itself, when i invoke the compile command?
thank you in advance.
- how to embed the current buffer name into the compile-comand,
moonrie <=