Makefile best practices for embedded development

E. Weddington eric@umginc.net
Thu Sep 25 18:10:00 GMT 2003


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



More information about the crossgcc mailing list