On Tue, 2008-06-17 at 16:00 +0530, A, Sravanthi wrote: > 3. b.o is dependant on a.o > > If any changes are done to a.cc file, b.o should get rebuilt.
This is an extremely unusual situation. In what way is b.o depending on a.cc or a.o? Generally, .o files depend on the single .c or .cc or whatever source file, plus some header files. The only time a .o file will depend on more than one source file is if there is an #include of the other source file, which is very rare. And, the only time I can think of a .o file depending on another .o file is if you're using readelf or objdump some other magic to translate one into the other. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.us "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make