NMAKE Help (nmake.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Search Paths for Dependents
◄Up► ◄Contents► ◄Index► ◄Back►
─────NMAKE──────────────────────────────────────────────────────────────────
You can specify directories in which NMAKE should search for a
dependent. The syntax for a directory specification is:
{directory[;directory...]}dependent
Enclose one or more directory names in braces ({}). Separate
multiple directories with a semicolon (;). No spaces are allowed.
You can use a macro to specify part or all of a search path. NMAKE
searches the current directory first, then the directories in the
order specified. A search path applies only to a single dependent.
Example
forward.exe : {\src\alpha;d:\proj}pass.obj
In this dependency, the target FORWARD.EXE has one dependent,
PASS.OBJ. The directory list specifies two directories. NMAKE
first searches for PASS.OBJ in the current directory. If PASS.OBJ
isn't there, NMAKE searches the \SRC\ALPHA directory, then the
D:\PROJ directory.
-♦-