%% Duane Ellis <[EMAIL PROTECTED]> writes:

  de> DBG_ORDER=$(RAW_DBG_ORDER:%=$(%))
  de> REL_ORDER=$(RAW_REL_ORDER:%=$(%))

You can't do this: patterns don't replace before expansion, they replace
after expansion.

It's very easy, though, just do this:

  DBG_ORDER = $(foreach V,$(RAW_DBG_ORDER),$($(V)))

You can make a function out of it and use $(call ...) if that makes it
clearer in your makefile.

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


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

Reply via email to