I'd like to get value of variable named $(MYVAR)_SOME_SUFFIX in the b.mak makefile. Instead I get "b.mak(2) : fatal error U1001: syntax error : illegal character '$' in macro"
# ---- a.mak ----
all :
set MYVAR=SOME_PREFIX
nmake -f b.mak
#--- END ---
# ---- b.mak ----
all:
@echo $($(MYVAR)_SOME_SUFFIX)
#--- END ---