[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi line shell commands

From: Greg Chicares
Subject: Re: multi line shell commands
Date: Sun, 10 Apr 2011 14:57:05 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20101207 Thunderbird/3.1.7

On 2011-04-10 10:16Z, ali hagigat wrote:
> The make manual does not explain how to specify multi line shell
> commands like if and for as a recipe.

See the explanation and examples here:
And here's an example of a for-loop split across multiple lines:
        for dir in $(SUBDIRS); do \
                $(MAKE) -C $$dir; \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]