title: On mac, how to add path to environment variable?
body: <p>I'm using opencv on mac, every time I compile the program, I have to type:</p>
  
  <pre><code>g++ -I /usr/local/include -L /usr/local/lib main.cpp
  </code></pre>
  
  <p>What can I do to avoid typing -I and -L params?</p>