title: How to forward macros between nmake invocations?
body: <p>How can I forward macros between nmake invocations?</p>
  
  <p>Let's say we have</p>
  
  <pre><code>--- a.mak ---
  
  some_variable = value
  
  all:
     nmake -f b.mak
  
  --- END ---
  
  --- b.mak ---
  
  all:
     @echo some_variable = WHAT TO PUT HERE TO GET VALUE OF some_variable?
  
  --- END ---
  </code></pre>
  
  <p>I was trying different things like using set and setx commands but value of variable set in parent makefile is not visible in makefiles being invoked from within it.</p>