help-make
[Top][All Lists]
Advanced

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

Re: creating multiple outputs with a tool in one step


From: Maxim Yegorushkin
Subject: Re: creating multiple outputs with a tool in one step
Date: Mon, 08 Feb 2010 10:54:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc11 Thunderbird/3.0.1

On 08/02/10 09:01, Oleksandr Gavenko wrote:
On 2010.02.06 19:53, Maxim Yegorushkin wrote:
On 25/01/10 08:59, Oleksandr Gavenko wrote:
On 2010.01.24 16:04, James McElhannon wrote:
> Suppose I have a file A that is dependent on B and C. I have a tool,
> mytool, that can create B and C at one time from their respective
> sources. When making A, I would want make to do "mytool B C" as one of
> its steps.

Sorry GNU make does not support this directly.

It does. See example 3 on
http://www.gnu.org/software/make/manual/make.html.gz#Pattern-Examples

Wow, I thing than know all, but not!

Yep, this is a feature that is often overlooked. It probably deserves more emphasis in the documentation.

--
Max





reply via email to

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