Re: How to use wildcard for different 'stem' values
From:
hans . peter . van . lohuizen
Subject:
Re: How to use wildcard for different 'stem' values
Date:
Wed, 10 Sep 2003 10:55:46 +0200
Thanks Paul for your suggestions.
It seems to me the "old" solution is the savest to choose right now.
Could you give me a small hint of how such a "generating make fragment" rule
should look like? Can you show me a kind of "make framework" to work on?
Thanks,
Hans Peter.
>There are two ways to do the latter: the "old" way, which works with
>almost any version of GNU make, is to write a rule that generates a
>makefile fragment containing the targets you want, then include that
>fragment. GNU make has a special feature where it tries to remake every
>included makefile and, if it succeeds, it will re-exec itself to read
>that new makefile.