%% "Dylan Cuthbert" <[EMAIL PROTECTED]> writes: Pls. try to choose a proper charset for your messages. iso-2022-jp is not always a viewable charset.
dc> reverse_words = $(if $(1),$(call reverse_words,$(wordlist 2,$(words dc> $(1)),$(1))) $(firstword $(1))) dc> MESSAGE = this is a message to be reversed dc> REVERSE = $(call reverse_words, $(MESSAGE)) dc> I get the error: dc> *** Recursive variable `reverse_words' references itself (eventually). dc> Stop. dc> I *know* it references itself but I use the Makefile $(if statement to dc> prevent infinite loops. There has already been a fix made to the CVS source which allows the first argument to $(call ...) to expand recursively. No other functions or variables are allowed to recurse. -- ------------------------------------------------------------------------------- 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
