help-make
[Top][All Lists]
Advanced

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

Advanced Auto-Dependency Generation


From: bhaskar . g
Subject: Advanced Auto-Dependency Generation
Date: Tue, 16 Nov 2004 17:38:09 +0530


Hi,

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

E-mail:        address@hidden
Phone:       +91 80 2557 9000, Ext 3016
Fax:            +91 80 2556 0581
GSM:         +91 944 876 1340

Office:        Philips Innovation Campus, 3rd floor
Address:   No 1, Murphy Road, Ulsoor, Bangalore - 560 008
Country:    INDIA
=================================================

reply via email to

[Prev in Thread] Current Thread [Next in Thread]