I understand that ifdef doesn't look at the value, but shouldn't
it still resolve all variable references in its argument?  After
all, the final value of the argument shouldn't have a $ anyway,
so it seems like it would be perfectly legit to construct the
argument programmatically.

------------

foo_variable = 1234

prefix = foo

ifdef $(prefix)_variable
  p = success
else
  p = failed
endif

bah:
        @echo $(p): $(prefix)_variable = $($(prefix)_variable)

------------

-Roger

Roger Gonzalez
[EMAIL PROTECTED]

Reply via email to