[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #51269] Reusing data from targets for prerequisites
From: |
SF Markus Elfring |
Subject: |
Re: [bug #51269] Reusing data from targets for prerequisites |
Date: |
Wed, 21 Jun 2017 12:30:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
> It's important to realize that even though the unfortunate choice of
> naming implies otherwise, static pattern rules are in all ways
> _explicit_ rules. They are not and should never be considered
> implicit rules.
Thanks for your explanation.
This terminology can occasionally trigger corresponding understanding
difficulties.
> A static pattern rule is merely a shorthand for writing a bunch of
> explicit rules.
I am struggling with advanced usage of placeholder indicators to extract
further data from such targets.
> OBJS = foo.o bar.o biz.o baz.o
>
> $(OBJS): %.o : %.c
> $(CC) $(CFLAGS) -c -o $@ $<
Can the description for this construct be improved a bit more in the
documentation?
I hope that I can avoid to introduce another make rule generator for some
use cases.
Regards,
Markus
Re: [bug #51269] Reusing data from targets for prerequisites, SF Markus Elfring, 2017/06/20