title: MS nmake equivalent of $(MAKECMDGOALS)
body: <p>I'm using a (somewhat outdated) Microsoft version of nmake, which is usually packaged with visual studio 6.0. (If there's a relevant answer for newer nmake - do let me know, I might consider upgrading).</p>
  
  <p>I wish to alter existing makefile, so that it would not include the dependency list if it is ran with the <code>nmake dpndfull</code> goal, which should build the dependency list.</p>
  
  <p>With GNU make I would test if <code>dpndfull</code> is in <code>MAKECMDGOALS</code>, and if it does I wouldn't include the (maybe nonexisting) dependency list.</p>
  
  <p>Any ideas how to find current make goal with nmake?</p>