[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kicking myself w/ Target specific variables on gmake 3.79.1
From: |
chorn |
Subject: |
Re: Kicking myself w/ Target specific variables on gmake 3.79.1 |
Date: |
Tue, 10 Apr 2001 10:40:47 -0400 |
User-agent: |
Mutt/1.2.5i |
On 2001/04/10 09:52:54 -0400, Paul D. Smith wrote:
> %% address@hidden writes:
>
> c> It's complicated because there are a whole series of rules which
> c> use $(INSTALL_DIR) in my example. If I could get away with one
> c> rule just using a pattern I would...
>
> c> Consider:
>
> c> install-%: install-part1 install-part2 install-part3 install-part4
>
> By this I assume you mean that different installation targets have
> different prerequisites?
Actually no, but I do build quite a few other variables based on what $*
is, in the above case.
> In that case you'll need to use static pattern rules. This will require
> writing a different rule for each set of targets, though.
Yeah, that's what I had before. :)
For now, I'm just going to condense all the -partX rules into one mother
rule. I really don't want to go back to the big list of static rules.