title: Makefile OR condition
body: <p>I want to have multiple if condition and want to combine.</p>
  
  <pre><code>ifeq ($(TAG1), on)
  LD_FLAGS += -ltestlibrary
  endif
  ifeq ($(TAG2), on)
  LD_FLAGS += -ltestlibrary
  endif
  </code></pre>
  
  <p>I want to do some thing like: </p>
  
  <pre><code>ifeq ($(TAG1) || $(TAG2), on)
  LD_FLAGS += -ltestlibrary
  endif
  </code></pre>
  
  <p>How can I do it?
  The answers in SO <a href="https://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or">Makefile ifeq logical or</a> or <a href="https://stackoverflow.com/questions/6451477/how-to-use-of-multiple-condition-in-ifeq-statement">How to Use of Multiple condition in &#39;ifeq&#39; statement</a> gives otherway of doing.</p>