Re: Questions re C mode, ECB and some more



On Jan 13, 2:28 pm, Michael Schuerig <mich...@xxxxxxxxxxx> wrote:
justinhj wrote:
Ah, I see, but that won't work when the Makefile is not in the same
directory as the source file. That's what I was trying to explain
earlier about out of tree builds: Makefile.am is in the same directory
as the sources, but Makefile and objects are generated in a separate
directory.

Michael

Hi Michael

Yes I didn't reply about the directory stuff because I don't know. It
looks like you can change the compilation-directory buffer variable
for one of your files to compile from a specific directory, but I
haven't tried that.

justinhj
.



Relevant Pages

  • Makefiles
    ... have a shell program source file, say prog.sh, and type "make prog" the make utility will automatically create "prog" and change the mode so it is executable. ... A Makefile defines targets -- prog, for example, is the target of prog.sh -- and dependencies. ... A C program depends upon a object file, not the source file. ... CFLAGS and LDFLAGS are tokens defined to mean something by make; MAINS and OBJECTS are tokens defined locally. ...
    (comp.databases.informix)
  • Using make
    ... I have a source file called test.c. ... gcc test.c -o test ... I have both the sourcefile and the Makefile in the same ... mac2 c_assign> make ...
    (comp.lang.c)
  • How to modify and rebuild source code (like Calibrui)?
    ... User Interface Component": ... I need to make a small change to calibrui.cpp, so I edited the source file ... I guess I don't know how to "rebuild the ... calibrui.rc, makefile, makefile.inc, and sources. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: kbuild: possible regression?
    ... call make once for all targets when O=.. ... Change the invocations of make in the output directory Makefile and the ... When compiling with separate object directories, ... With make -j, these invocations may run in parallel, resulting in multiple ...
    (Linux-Kernel)
  • Re: kbuild: possible regression?
    ... call make once for all targets when O=.. ... Change the invocations of make in the output directory Makefile and the ... When compiling with separate object directories, ... With make -j, these invocations may run in parallel, resulting in multiple ...
    (Linux-Kernel)