Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #10568
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: make: Multiple targets created by single rule vs parallel make |
| Date | 2020-01-29 14:03 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <r0rvqp$beh$1@dont-email.me> (permalink) |
| References | <r0c8ue$eui$1@solani.org> <r0rul2$bi2$1@solani.org> |
On 29/01/2020 13:43, Philipp Klaus Krause wrote: > Am 23.01.20 um 15:00 schrieb Philipp Klaus Krause: >> In a Makefile, I have one rule that creates multiple targets, using the >> &: feature of GNU make. >> >> However, if I use make -j, the rule is still executed as many times as >> there are targets. How can I avoid that without affecting other rules? >> >> Philipp >> > > As can be seen in > > https://savannah.gnu.org/bugs/?57692 > > the mistake was on my side, assuming that grouped targets were supported > by GNU mmake 4.2.1. The syntax for grouped targets actually is also > valid make syntax for older versions of make, but has different > semantics there. > Thanks for posting that followup - I'm glad you figured out your problem.
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
make: Multiple targets created by single rule vs parallel make Philipp Klaus Krause <pkk@spth.de> - 2020-01-23 15:00 +0100
Re: make: Multiple targets created by single rule vs parallel make David Brown <david.brown@hesbynett.no> - 2020-01-23 15:31 +0100
Re: make: Multiple targets created by single rule vs parallel make Philipp Klaus Krause <pkk@spth.de> - 2020-01-29 11:02 +0100
Re: make: Multiple targets created by single rule vs parallel make Philipp Klaus Krause <pkk@spth.de> - 2020-01-29 13:43 +0100
Re: make: Multiple targets created by single rule vs parallel make David Brown <david.brown@hesbynett.no> - 2020-01-29 14:03 +0100
Re: make: Multiple targets created by single rule vs parallel make Härra Ramob <hrramob@gmail.com> - 2022-01-05 00:27 -0800
csiph-web