Howto Simplify Multiple Exports in .bash_profile

Dear expert,

My .bash_profile contain the following lines:

# User specific environment and startup programs
export CFLAGS="-I $HOME/.libstree/include"; 
export LDFLAGS="-L $HOME/.libstree/lib";
export LD_LIBRARY_PATH=/home/ewijaya/MyBioTool/libstree-0.4.2/lib:${LD_LIBRARY_PATH}

export CFLAGS="-I $HOME/.gsl/include"; 
export LDFLAGS="-L $HOME/.gsl/lib"; 
export LD_LIBRARY_PATH=/home/ewijaya/MyBioTool/gsl-1.7/lib:${LD_LIBRARY_PATH}

export CFLAGS="-I $HOME/.swish/include"; 
export LDFLAGS="-L $HOME/.swish/lib"; 
export LD_LIBRARY_PATH=/home/ewijaya/.swish/lib:${LD_LIBRARY_PATH}

I wonder how can I simplify those multiple: CFLAGS,LDFLAGS,and LD_LIBRARY_PATH?

Second question is that, why after doing "printenv" the CFLAGS,LDFLAGS are only shown for .swish? namely the last block of export for .swish?

$ printenv | grep 'CFLAGS'

Gives only:
CFLAGS=-I /home/ewijaya/.swish/include

and

$ printenv | grep 'LDFLAGS'

Gives only:
LDFLAGS=-L /home/ewijaya/.swish/lib

But it's okay for LD_LIBRARY_PATH:

$ printenv | grep 'LD_LIBRARY'
LD_LIBRARY_PATH=/home/ewijaya/.swish/lib:/home/ewijaya/MyBioTool/gsl-1.7/lib:/home/ewijaya/MyBioTool/libstree-0.4.2/lib:

Thanks so much beforehand.

Look more carefully at what you've written :o

export CFLAGS="-I $HOME/.swish/include"; overwrites
export CFLAGS="-I $HOME/.gsl/include"; which overwrites
export CFLAGS="-I $HOME/.libstree/include";

and the LDFLAGS code is similar

LD_LIBRARY_PATH is different, each time you set it you are including its previous value, extending it rather than overwriting it:

export LD_LIBRARY_PATH=/home/ewijaya/MyBioTool/libstree-0.4.2/lib:${LD_LIBRARY_PATH}

To simplify, try something like:
export CFLAGS="-I $HOME/.swish/include:$HOME/.gsl/include:$HOME/.libstree/include";

hope this helps