[Omake] "filter" broken in new omake?
malc
malc at pulsesoft.com
Wed Dec 13 09:59:11 PST 2006
On Wed, 13 Dec 2006, Markus Mottl wrote:
> Hi,
>
> the new release has broken our code, and I unfortunately don't know how to
> fix this. The "filter" function expects the symbol "%" as wildcard, and
> implicit rules use the same symbol, too. Unfortunately, this binds the
> "%"-symbol within the rule for the "filter"-function, thus making it filter
> only one specific thing rather than all strings matching a pattern. How can
> I solve this?
>
> E.g.:
>
> %.o: %.c
> res = $(filter %.bla, ...)
> ...
>
> This will filter foo.bla rather than anything ending in ".bla" if "foo.o" is
> the current target.
res = $(filter $"%".bla, ...) worked for me
--
vale
More information about the Omake
mailing list