Your command should take the following form:
nmake [options] [macrodefinitions] [targets] [/f filename]
Where:
| [options] | Specifies options that modify the Make
utility's actions. |
| [macrodefinitions] | Lists macro definitions for the Make
utility to use. Macro definitions that contain spaces
must be enclosed by double quotation marks. |
| [targets] | Specifies the names of one or more
target files to build. If you do not list any targets,
the Make utility builds the first target in the makefile. |
| [/f filename] | Gives the name of the description file where you specify file dependencies and which commands to execute when a file is out-of-date. If /f is not specified, the Make utility looks in the current directory for a makefile named makefile. |
The following example:
nmake /s "program = flash" SORT.EXE SEARCH.EXE
![]()
Makefile
Pseudotargets
Make
Utility Macros
![]()
Supply Commands to the
Make Utility from a Response File
Define a Make
Utility Macro
Modify Commands in
Makefiles