title: Setting environmental variables in Makefile
body: <p>How can I add <code>setenv LD_LIBRARY_PATH .</code> into my <code>Makefile</code> ? When I use the same term in my Makefile and then echo the variable using <code>echo $LD_LIBRARY_PATH .</code> I always receive <code>.</code> as result even in another folder not an absolute path and I receive this error <code>setenv LD_LIBRARY_PATH .</code> <code>make: setenv: Command not found</code></p>
  
  <pre><code>ll:libmem.v1
  
  libmem.v1:
      gcc -g -c -fpic libmem.v1.c -Wall
      gcc -shared -o libmem.so libmem.v1.o
      gcc -lmem -L. -o main main.c -Wall 
      setenv LD_LIBRARY_PATH .
  
  clean:
      rm -f libmem.v1
      rm -f *.py
  </code></pre>
  
  <p>How should I fix this?</p>