[MPlayer-dev-eng] [PATCH] SSE version of DCT64 for mp3lib

Diego Biurrun diego at biurrun.de
Fri Jul 7 08:19:47 CEST 2006


On Fri, Jun 23, 2006 at 07:40:58AM +0200, Guillaume POIRIER wrote:
> 
> I'm not a Makefile statements kings, so I need to read the docs of
> make to learn how to write a "or" statement.

I perused the docs already without coming up with a satisfactory
solution.

What you can do is combine variables in the following way:

ifeq ($(foo)$(bar),yes)
  [ ... ]
endif

This will work if either foo or bar are set to yes, resulting in an
exclusive or operation.  If you are looking for a non-exclusive or

ifneq ($(foo)$(bar),)
  [ ... ]
endif

will trigger if foo or bar is set to yes (or both).

Of course all of this breaks with no values, but that shouldn't apply in
our case...

Diego



More information about the MPlayer-dev-eng mailing list