EXTMAKE Syntax

Makefiles can use a special syntax to determine the drive, path, base name, and extension of the first dependent file in a description block. This syntax is called the "extmake" syntax:

The characters %s represent the complete file specification of the first dependent file. Various parts of the file specification are represented using the syntax

%|partsF

where parts is a combination of the following letters:

d drive
p path
f base name
e extension

For example, to specify the drive and path name of the first dependent file in a description block, use:

%|dpF

The percent symbol (%) is a wildcard character in DOS and OS/2 command lines. To use the percent symbol in command-line arguments in DOS or OS/2, use a double percent (%%).



Makefiles 
File Specification Macros