Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland MAKE v4.0 - modifying default macros http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Modifying default macros
------------------------
When the default macros listed in the preceding table doesn't give you
the exact string you want, macro modifiers let you extract parts of
the string to suit your purpose.

To modify a default macro, use this syntax:

        $(MacroName [modifier])

The following table lists macro modifiers and provides examples of
their use.

Modifier        Part of file name expanded      Example Result
--------        --------------------------      --------------
D               Drive and directory             $(<D)   C:\PROJECTA\

F               Base and extension              $(<F)   MYSOURCE.C

B               Base only                       $(<B)   MYSOURCE

R               Drive, directory, and base      $(<R)   C:\PROJECTA\MYSOURCE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson