|
From: | Rick Mann |
Subject: | Re: [avr-chat] Need a make guru; embedding web pages |
Date: | Thu, 1 Sep 2011 15:03:01 -0700 |
Thanks for the detailed instructions! On Aug 31, 2011, at 20:58 , David Kelly wrote: web.o : web.c web.h You need similar for anything that uses web.h because they too need to be rebuilt if web.h changes. You might let the compiler build a dependency tree for you in Makefile format. I used this in one of my AVR projects. IIRC it was copied from another project I was doing in FreeBSD where one has BSD make and sometimes GNU make, which differ in how this is handled. Believe this almost finds common ground: The overall makefile runs makedepend, so those things don't need to be listed explicitly. But I think it relies on .deps files missing, or something; I can't remember what it was, but it made me think in this case that I'd need an explicit rule. I'll try adding your changes to see what I get. Thanks! -- Rick |
[Prev in Thread] | Current Thread | [Next in Thread] |