On Fri, 2008-10-24 at 12:51 -0400, Mike Shal wrote:
> >  > Thanks but this rule matches every .cpp_o files and I want it to match
> >  > only the files from LIST.

> Or you could use static patterns:

Static patterns are unquestionably the right thing to use here.

While more advanced capabilities like $(eval ...) will work, to my mind
$(eval ...) is way too big of a hammer for this problem.  I always start
with the simplest make features like pattern rules, static pattern
rules, included makefiles, constructed variable names, etc.

Only when all of these things fail to be powerful enough do I resort to
$(eval ...).




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to