avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Putting make intermediate files into a directory


From: Dmitry K.
Subject: Re: [avr-gcc-list] Putting make intermediate files into a directory
Date: Sun, 29 Jun 2003 13:27:17 +1100
User-agent: KMail/1.5

28 Jun 2003 05:50 David Shoemaker wrote:
> Is there any easy way to modify the sample makefile to place all the .o,
> .lst, .d, etc files into a subdirectory of my project?  I really don't like
> anything but the project files and sources in the project directory.
>
> I have spent a couple hours going over it and while I can get parts to show
> up there I can't get a complete build to work.
>

Directive `vpath' (GNU's make) is convenient.

For example, sources are in ../src, but objects it is necessary to place in 
the current directory:
   vpath %.c  ../src
   foo.o:  foo.c

Regards.




reply via email to

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