On 2001/04/10 09:52:54 -0400, Paul D. Smith wrote:

> %% [EMAIL PROTECTED] 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.

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to