Re: build fix



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.

    -- Darin




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