I have a Makefile that contains an install section to allow me to make install after building the source code. The install section contains two lines of shell commands:install: /usr/local/lib    cp $(LIB_OBJ) $<    export LD_LIBRARY_PATH=$< So the first line copies the libxxx.so to /usr/local/lib and the second line sets the environmental variable LD_LIBRARY_PATH to /usr/local/lib so that final executable can find the libxxx.so file.But when I run make install from the command line and then type:echo $LD_LIBRARY_PATHIt shows empty content rather than /usr/local/lib as intended. So why is the second line of command in the Makefile not executed? 
Makefile make install not executing multiple line commands
shell;environment variables;make