I use the shell (bash, but I need portability) and the GNU Makefile. I have this code:
check_commands: command -v find >/dev/null command -v asdf >/dev/null
As expected, the first command is passed, the second aborts the Makefile with an error. Now I delete >/dev/null
. Why, then
check_commands: command -v find
output the following error:
make: command: Command not found.
shell makefile gnu-make
Johannes Oct. 20 '12 at 15:25 2012-10-20 15:25
source share