[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Static pattern and $$(@F)
From: |
Yogesh Bhagwat |
Subject: |
Re: Static pattern and $$(@F) |
Date: |
Wed, 11 Sep 2002 10:38:27 -0700 (PDT) |
--- "Paul D. Smith" <address@hidden> wrote:
> %% Yogesh Bhagwat <address@hidden> writes:
>
> yb> Unfortunately it is not so. FILES_IN_DIR_A should really be
> yb> FILES_IN_DIRS_A_TO_Z.
>
> yb> So this means I need to write static pattern rules for each
> of the
> yb> dirs.
>
> Yes.
>
> yb> But that may not be possible as the dirs themselves are
> coming
> yb> out of a wildcard expression.
>
> Then you have two choices. The first is to use make's auto-re-exec
> feature to dynamically construct a makefile containing the proper
> rules,
> which you can include using make's "include" feature. This is the
> traditional way to support non-static data in makefiles which can't
> be
> handled through make's normal implicit rule support.
>
Ahh!! Yes, I get that! I will do this in short term. Thanks a
lot. May be this should go into the faq :)
> The second is to wait for a bit:
>
> yb> I am using 3.79.1 version of gnu make.
>
> >> The next version of GNU make (3.80) does support this strange
> SysV
> >> construct--at least to some extent.
>
> :)
>
> There's a pretest of this release available now, if you want to try
> it
> (I'd actually like someone to test this capability in a "real life"
> situation before the official release).
Sure! I will be glad to test it out over this weekend. Please let
me know where to get it from.
>
> --
>
-------------------------------------------------------------------------------
> Paul D. Smith <address@hidden> Find some GNU make tips
> at:
> http://www.gnu.org
> http://make.paulandlesley.org
> "Please remain calm...I may be mad, but I am a professional."
> --Mad Scientist
__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute