title: lpsolve library dynamically linking
body: <p>the lpsolve library has a script to build a <code>demo.c</code> file.</p>
  
  <pre><code>#This script expects to be located in a subdirectory of a subdirectory of the base lpsolve files
  cc -DEXPLICIT -I../.. -O3 demo.c explicit.c -lm -ldl -o demoe ../../lpsolve55/liblpsolve55.so
  opts='-O3'
  opts=''
  
  cc -I../.. $opts demo.c implicit.c -lm -ldl -o demoi ../../lpsolve55/liblpsolve55.a
  </code></pre>
  
  <p>The name of the file is <code>ccc</code> and the content is displayed above.
  From Terminal how do you call this script?</p>