views:

135

answers:

0

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

I wish to alter existing makefile, so that it would not include the dependency list if it is ran with the nmake dpndfull goal, which should build the dependency list.

With GNU make I would test if dpndfull is in MAKECMDGOALS, and if it does I wouldn't include the (maybe nonexisting) dependency list.

Any ideas how to find current make goal with nmake?