Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 ARLENE 1/1/85; site dalcs.UUCP Path: utzoo!utcsri!dalcs!silvert From: silvert@dalcs.UUCP (Bill Silvert) Newsgroups: net.unix Subject: Using sh in makefiles Message-ID: <1991@dalcs.UUCP> Date: Thu, 26-Jun-86 18:09:28 EDT Article-I.D.: dalcs.1991 Posted: Thu Jun 26 18:09:28 1986 Date-Received: Thu, 26-Jun-86 23:59:51 EDT Distribution: net Organization: Marine Ecology Lab. Lines: 8 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?