On Tue, 2009-12-29 at 13:02 +0000, Ian Lynagh wrote: > Can anyone explain why make claims that foo cannot be built with this > Makefile please? Looking at the "Implicit Rule Search Algorithm" in > the info page it looks to me like it should work fine. > > ############################## > default: foo > @echo default > > f%: bar > @echo This is $@ with $*
If the file "bar" does not exist then you'll get the message you see since there is no way for make to know how to build bar, and as a result this implicit rule cannot match. -- ------------------------------------------------------------------------------- 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] http://lists.gnu.org/mailman/listinfo/help-make
