René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
gmake options | ||
-C
The following snippets are (almost ???) identical:
sub_target: cd sub_directory && $(##A(variables.html#make)) sub_target: $(##A(variables.html#make)) -C sub_directory
The second (as opposed to the first ???) sets the variable CURDIR.
-f
Long name: --file
-i
Long name: --ignore-errors.
Continues processing even if a command fails. See also ignoring errors in commands.
-I
Long name: --include-dir
Specifies the directories that are searched with the include directive.
-n
Long name: --just-print.
Prints the commands that make would execute in order to build the requested target without actually executing them. It also prints commands
@ commands.
See also the MAKE variable.
-o file
Pretends that file has not changed although it has.
-q
See also the MAKE variable.
-s
Long name: --silent
Suppresses all echoing of commands being executed.
-t
Long name: --touch
See also the MAKE variable.
-w
Long name: --print-directory
prints
make: Entering directory /foo/bar
and
make: Leaving directory /foo/bar |