Re: build fix
- From: Havoc Pennington <hp redhat com>
- To: Darin Adler <darin bentspoon com>
- Cc: GConf <gconf-list gnome org>, jacob berkman <jacob ximian com>
- Subject: Re: build fix
- Date: 04 Dec 2001 16:19:00 -0500
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]