title: Tool to remove/Apply ifdef's/else's from codebase
body: <p>I have a pretty big codebase and I wanted to clean it out by removing and applying some ifdef's scattered around it. For example, I have lot's of these:</p>
  
  <p><strong>test.c</strong></p>
  
  <pre><code>#ifdef MYCHECK
      // do other sutff
  #else
      // do stuff
  #endif
  </code></pre>
  
  <p>Is there a tool that allows me to run through the entire codebase and remove all that code, leaving only the code inside my variable condition? For example:</p>
  
  <pre><code>nicetool -D MYCHECK *.c
  </code></pre>
  
  <p>Would result in:</p>
  
  <p><strong>test.c</strong></p>
  
  <pre><code>// do other stuff
  </code></pre>