Re: Possible to get prerequisite path with secondary expansion when VPATH is employed?
Glen Huang <[email protected]>
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <[email protected]> |
> 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