On Wed, 2007-08-01 at 13:15 -0400, German Salazar wrote: > I am having a problem with expanding wildcards in a rule, am I missing > something? According to user's manual section 4.4, wildcards like * > and [...] are allowed, but it is not working for me; here is my rule: > > $(fobjs): $(cdir)/%.o: %.[fF]*
Well, I'm assuming that you don't have any files in your directory that match the pattern "%.[fF]*"; that is, any files named with a percent followed by a dot followed by either a lowercase or capital F, followed by any number of other characters. Wildcards are expanded BEFORE pattern substitution happens. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "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
