[Omake] "filter" broken in new omake?
Markus Mottl
markus.mottl at gmail.com
Wed Dec 13 09:51:16 PST 2006
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.
Regards,
Markus
--
Markus Mottl http://www.ocaml.info markus.mottl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.metaprl.org/pipermail/omake/attachments/20061213/59b2e1bb/attachment.html
More information about the Omake
mailing list