arunk@cs.utexas.edu (Arun Kandappan) (08/18/89)
When I try to use the M-x compile command emacs looks for a Makefile in the home directory. If it is there it executes make for that makefile. It does not make the Makefile in the current directory. According to the emacs manual it is supposed to change to the directory from wchih emacs was invoked and then do a make. I have a copy of the output in the compilation buffer. cd /v/mohawk/v0/arunk/research/allocation/results/ make -k make: no goal target. Stop. Compilation finished at Thu Aug 17 13:14:37 This inspite of a proper makefile in the current directory. Anything I am doing wrong?? Arun -- Arun Kandappan arunk@cs.utexas.edu 512+345-1616 EE Dept, UT at Austin TX 78712 uunet!cs.utexas.edu!arunk
pk@tut.fi (Kellom{ki Pertti) (08/18/89)
On 17 Aug 89 18:18:34 GMT,arunk@cs.utexas.edu (Arun Kandappan) said:
Arun> When I try to use the M-x compile command emacs looks for
Arun> a Makefile in the home directory. If it is there it executes make for
Arun> that makefile. It does not make the Makefile in the current directory.
Arun> According to the emacs manual it is supposed to change to the
Arun> directory from wchih emacs was invoked and then do a make.
Emacs does `make' in the working directory of the current buffer (from
the buffer local variable default-directory). Thus, one may end up
doing `make' for example saying `M-x compile' when the cursor is in
*scratch* buffer or something like that.
Arun> I have a copy of the output in the compilation buffer.
Arun> cd /v/mohawk/v0/arunk/research/allocation/results/
Arun> make -k
Arun> make: no goal target. Stop.
Arun> Compilation finished at Thu Aug 17 13:14:37
This looks like the right thing, assuming that your current directory
is /v/.../allocation/results.
--
Pertti Kellom\"aki (TeX format) # Software will be a science when programmers
Tampere Univ. of Technology # stand on each other's shoulders instead
Software Systems Lab # of each other's toes