I'm trying to save the standard exit status of a command in a variable of my makefile, but I don't know how to do it.
I've tried this:
...but it doesn't work.
on 01/07/2012 – Made popular on 01/07/2012
I am trying to instruct GNU Make 3.81 to not stop if a command fails (so I prefix the command with -) but I also want to check the exit status on the next command and print a more informative message. However my Makefile below fails: