title: How to succinctly link files in Ubuntu where the library files have long address
body: <p>I have installed a free fortran software in ubuntu that I want to use to do some calculations. Now each time I compile I have to use <code>-I/home/me/dir1/dir2 -L/home/me/dir1/dir2/lib/</code>    to give the directories where the compiled files and libraries are located. This is rather cumbersome. </p>
  
  <p>Please point me in the right direction: I want to to have a short cut for the long location, for example how can I define <code>myloc = /home/me/dir1/dir2</code> so that when I compile I would just type <code>gfortran myprog.f90 -I/myloc -L/myloc</code> . Please provide some links to where I can find such examples. Is this called scripting language? I vaguely know that I might have to write some commands in ./bashrc or ./profile. </p>