Re: build fix



Darin Adler <darin bentspoon com> writes:
> On 12/4/01 11:40 AM, "Havoc Pennington" <hp redhat com> wrote:
> 
> >> +$(OBJECTS): $(BUILT_SOURCES)
> > 
> > I don't get it - why don't the objects depend on the source files
> > automatically?
> 
> I think the reason you need this is that some of the built sources are
> header files. Header dependencies aren't known until you compile the .c file
> at least once. So the first time you build, it might try to compile the .c
> file before building a header that C file includes.
> 

OK, sounds good to me. Let's put it in then. 

Havoc




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