Would like advice on how to use shell commands (such as if...) in makefiles. I know that it all has to be on one line, but the only way I can make a command work is through a kludge like: test: echo "if x;then y;fi" | sh which seems pretty roundabout. Is this the only way to do it?