Article View: comp.unix.programmer
Article #3729make (possible FAQ)
From: Ian Zimmerman
Date: Sat, 24 Jan 2004 18:18
Date: Sat, 24 Jan 2004 18:18
17 lines
1525 bytes
1525 bytes
So, how does one handle, in plain make, the situation where multiple outputs depend on the same input, and the same command updates both outputs? The GNU make manual says if both outputs are listed as targets of the same rule, the command will be run twice, once for each target --- which isn't what I want. I remember the real situation was more complex with GNU make, it tried to optimize this, but it was undocumented and impossible to figure out. Also, presumably the documented behavior is what other make implementations do, and I'd like to stay compatible with them. -- Nothing can be explained to a stone. Or to a stoned person, either.
Technical Details
Message-ID:
<8765f1qkfi.fsf@newsguy.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!c-24-6-105-98.client.comcast.NET!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109f73,8351a0d0234ee903,start X-Google-Attributes: gid109f73,public X-Google-Thread: fc89c,8351a0d0234ee903,start X-Google-Attributes: gidfc89c,public X-Google-ArrivalTime: 2004-01-24 10:19:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!c-24-6-105-98.client.comcast.NET!not-for-mail From: Ian Zimmerman <bayard@newsguy.com> Newsgroups: comp.unix.programmer,gnu.utils.help Subject: make (possible FAQ) Date: 24 Jan 2004 10:18:57 -0800 Lines: 17 Sender: itz@homage Message-ID: <8765f1qkfi.fsf@newsguy.com> NNTP-Posting-Host: c-24-6-105-98.client.comcast.net (24.6.105.98) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.uni-berlin.de 1074968342 23475517 24.6.105.98 ([218005]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3