%% "Adam Klein" <[EMAIL PROTECTED]> writes:

  ak> I'm trying to use functions like 'patsubst', 'wildcard', 'filter', etc.
  ak> but the make doesn't recognize it.

  ak> For instance, my makefile is:

  ak> rule:
  ak>       @echo $(patsubst %.cpp, %.o, *.cpp)
  ak>       @echo $(patsubst %.cpp, %.o, a.cpp)
  ak>       @echo $(wildcard *.cpp)

  ak> The output of running "make rule" is empty.  It's as if the make
  ak> command doesn't recognize these functions at all...  Can u help
  ak> me?

Almost certainly the version of make you're running is not GNU make, and
so none of the GNU make functions are available to you.

You haven't specified what operating system you're using, etc. so
there's not much else we can tell you.

Run "make --version" and if it doesn't say GNU make, you're using
something else.

-- 
-------------------------------------------------------------------------------
 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

Reply via email to