This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Automatic dependency tracking


Tom Tromey wrote:
'-include', and probably order-only dependencies.
'ifeq' makes it a bit friendlier too, and sometimes new-style pattern
rules (depending on details in the Makefile that I don't remember
right now).

...


But with order-only dependencies I would just write:

$(all_objects): | $(generated_headers)

OK, I understand now. Presumably it would still be possible to retain non-GNU make compatibility for build-only purposes by also providing a regular dependency - basically just removing the bar from the above - and then preprocessing the Makefile, like AM_CONDITIONAL?


I don't know if it's worth it though. Like Daniel said, GNU make isn't hard to build, and other projects already require it.

Auto dependency tracking would be very nice to have though. :)

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]