[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible to get prerequisite path with secondary expansion when VPAT
From: |
Glen Huang |
Subject: |
Re: Possible to get prerequisite path with secondary expansion when VPATH is employed? |
Date: |
Fri, 8 Apr 2022 19:16:16 +0800 |
> Or perhaps a series of pattern rules, one for each directory:
>
> build/%: foo/%.tpl foo/%.data\
> ...
>
> build/%: bar/%.tpl bar/%.data
> ...
>
> build/%: baz/%.tpl baz/%.data
> …
Thank you so much Kaz, I ended up taking this advice, and it worked beautifully.
Although it’s a bit more complicated than using two pattern rules, but it’s a
lot more flexible.
Regards,
Glen