help-make
[Top][All Lists]
Advanced

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

Re: help needed understanding multiple target pattern rules


From: Paul Smith
Subject: Re: help needed understanding multiple target pattern rules
Date: Tue, 13 Jan 2009 14:03:53 -0500

On Tue, 2009-01-13 at 10:26 -0800, Philip Guenther wrote:
> foo.txt bar.bar baz.z: setup.sh-run
> 
> setup.sh-run: makefoo barmaker bazzer
>         ./setup.sh
>         @touch $@

IIRC, to make this work right the first rule has to have a recipe, like
this:

        foo.txt bar.bar baz.z: setup.sh-run
                @:

There are other ways but this is the one I prefer.






reply via email to

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