title: Add include paths and shared library for g++ permanently
body: <p>I try to compile .cpp file with g++ in terminal:</p>
  
  <pre><code>g++ -o main main.cpp \
    -I/usr/include/glib-2.0 \
    -I/usr/include/json-glib-1.0 \
    -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ \
    -L/usr/lib/x86_64-linux-gnu -ljson-glib-1.0 -lglib-2.0
  </code></pre>
  
  <p>And it works. </p>
  
  <p>But I want to add these .so libraries and include files for g++ permanently so that I don't need to type these every time. And I also want to make it apply for other applications.</p>
  
  <p>I am using ubuntu. </p>
  
  <p>Could anyone help me out? Thank you a lot in advance.</p>