Re: Multiple Targets
Boris Kolpackov <[email protected]>
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | Vanderbilt University |
| Message-ID | <[email protected]> |
Hi Randy, "Randy" <[email protected]> writes: > a.prm b.prm : prerequisite > commonbuildrule > > wants to execute the build rule for each of a.prm and b.prm. However, > I don't want this to happen. Not only is this a want, but it is a > need, since the build rule takes several minutes to execute (and > in my actual situation, there are many targets, not just two). Convert it to an implicit pattern rule: all: a.prm b.prm a.% b.% : prerequisite commonbuildrule hth, -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding