This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Makefile best practices for embedded development


On 25 Sep 2003 at 9:47, Bryce Schober wrote:

> We're working on an arm7 project with the gcc toolchain here, and 
> currently our Makefiles are a mess.  I've yet to get really going 
> full-bore on this project, and I'd like to do some cleanup before I dive in.
>  I've done a bit of research around the web including
> http://make.paulandlesley.org/autodep.html, and it looks promising, but
> there's a catch.  What do you do about dependencies for assembly files?
> Doing gcc -M on my toolchain doesn't catch any includes.  

Take a look at the gas manual. It says there is a --MD switch to generate a 
dependency file.

HTH
Eric Weddington

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]