Advanced Dependency Generation is mentioned
in the URL: http://make.paulandlesley.org/autodep.html.
I had one quick question on this.
SRCS = foo.c bar.c ...
%.o : %.c
@$(MAKEDEPEND)
$(COMPILE.c) -o $@ $<
-include $(SRCS:.c=.P)
According to make manual all the included
files would be read and processed before make starts building. Now said
that how
would the include statement at the end
would affect build as the file that was generated in my earlier build would
have been included :).
Or is it that make rebuilds the prerequisites
list just before compiling the target (.o) ie while running $(CC) or what
ever compiler.
Thanks in Advance for your answer.
Thanks & Regards,
Bhaskar G
=================================================
Technical Leader
Philips Semiconductors / CTO / Design Technology Group