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 - using make directives http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Using MAKE directives
=====================
MAKE directives resemble directives in languages such as C and Pascal,
and perform various control functions, such as displaying commands
onscreen before executing them. MAKE directives begin either with an
exclamation point or a period. The following table lists MAKE directives
and their corresponding command-line options (directives override
command-line options). Each directive is described in more detail
following the table.

Directive       Option          Description
---------       ------          -----------
.autodepend     -a              Turns on autodependency checking.

!elif                           Acts like a C "else if".

!else                           Acts like a C "else".

!endif                          Ends an "!if", "!ifdef", or "!ifndef"
                                statement.

!error                          Stops MAKE and prints an error message.

!if                             Begins a conditional statement.

!ifdef                          If defined that acts like a C "ifdef", but
                                with macros rather than "#define" directives.

!ifndef                         If not defined.

.ignore         -i              MAKE ignores the return value of a command.

!include                        Specifies a file to include in the makefile.

!message                        Lets you print a message from a makefile.

.noautodepend   -a-             Turns off autodependency checking.

.noIgnore       -i-             Turns off ".Ignore".

.nosilent       -s-             Displays commands before MAKE executes them.

.noswap         -S-             Tells MAKE not to swap itself out of memory
                                before executing a command.

.path.ext                       Tells MAKE to search for files with the
                                extension .ext in path directories.

.precious                       Saves the target or targets even if the
                                build fails.

.silent         -s              Executes without printing the commands.

.suffixes                       Determines the implicit rule for ambiguous
                                dependencies.

.swap           -S              Tells MAKE to swap itself out of memory
                                before executing a command.

!undef                          Clears the definition of a macro.

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