René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
gmake commands | ||
Echoing of commands
The following example prints (echoes) the command being executed:
target : prerequisite_1 prerequisite_2 command foo bar
The following example does not print (by the power of the @) the command being executed:
target : prerequisite_1 prerequisite_2 @command foo bar Ignoring errors
make stops if there is an error executing a command (meaning a command's exit status being non zero). If it is desired
to continue processing even if the command returns zero, the command nees be prepended by a hyphen:
target : prerequisite_1 prerequisite_2 -command foo bar
See also the -i option.
SHELL
SHELL is the environment variable whose value is used to execute a shell in which the commands are executed. On windows, if SHELL is not defined,
the value of COMSPEC is used.
|