bug in gnumake?? Using eval with wildcard function
From:
hans . peter . van . lohuizen
Subject:
bug in gnumake?? Using eval with wildcard function
Date:
Fri, 10 Oct 2003 16:22:34 +0200
Hi,
I am not sure whether the descibed below is a bug or that I missed something?
Could somebody tell me that?
Thanks a lot!
Hans Peter.
I use gmake 3.80.
I have the following lines to generate a wildcard in a set of rules preceeded by a path added via %:
tmp = $(wildcard cmd/*.tcl)
DEP_CMD=$(foreach OBJ, % ,$(addprefix %, $(tmp)))
The wildcard failes because it is only filled in once for the first % only.
So I tried to use the eval function to re-evaluate the wildcard for all separate %: