You cannot use functions on the results of a pattern match like that;
functions appearing in target or prerequisite lists are expanded as a
makefile is being read in, but patterns do not match until later, when
make is trying to find rules to run.

See the GNU make manual, section "How 'make' Reads a Makefile" for more
information on when expansion happens.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to