On Wed, 2011-12-21 at 12:28 +0400, Ilya Loginov wrote: > > > 2) Why in second case I get message "Nothing to be done for > `Makefile'"? > > > > Your Makefile, if taken literally, would result in an infinite loop, > > as make would have to build the Makefile, then reinvoke itself, then > > rebuild the Makefile, then reinvoke itself, etc. So, since your > > Makefile is broken, *anything* make does is correct. No? > > Really, it's not clear for me. Why make reinvokes itself?
Read the section "How Makefiles are Remade" in the GNU make manual. Cheers! -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
