--version command line option was added in nmake 12 to
show the version of the nmake command.
$ nmake --version Alcatel-Lucent (Bell Labs) nmake 12 06/09/2010
Execute the following command:
$ what_version_nmake /tools/nmake/sparc5/lu3.5/: Release: nmake lu3.5 06/07/2002 - Bell Labs
command is included in the nmake
bin directory as of
release lu3.4. Execute this command to show the version
string and the latest applied patch. The
-v flag can be used
to show verbose information about the components.
The below methods of finding the version string will work in all releases.
There are a few ways you can determine what version of nmake you are running.
whatcommand on the nmake binary and look for a line with make or nmake. Depending on the platform there may be a lot of output, particularly for the
whatcommand, so you may need to pipe the output to a pager or grep for make. Note on Solaris machines the
whatcommand is located in
/usr/ccs/bin/which may not be in your PATH.
$ ident <nmake_root>/bin/nmake nmake: $Id: nmake (Bell Labs) lu3.5 06/07/2002 $ $Info: build on: SunOS 5.4 (lion.stc.lucent.com) $ $ what <nmake_root>/bin/nmake | grep make nmake: Lucent(R) nmake (Bell Labs) lu3.5 06/07/2002
$(MAKEVERSION)variable from the command line.
$ nmake -n -f - . 'print $(MAKEVERSION)' Lucent(R) nmake (Bell Labs) lu3.5 06/07/2002
$(MAKEVERSION)in a Makefile.
$ cat Makefile target : : "$(MAKEVERSION)" $ nmake + : Lucent(R) nmake (Bell Labs) lu3.5 06/07/2002