Original Post
Hello. I want to create a GNU makefile target smth like this: But I want to execute
test:
-printf "printf ok"
echo "printf fails, echo ok"
echo "printf fails, echo ok" only when previous command (-printf "printf ok") returns non-zero. How to do that IF checking? Does GNU makefile provides smth like this? ------ Under linux, bash.