Check for the presence of bin directory

in order to avoid error messages


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@269 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
cavazzon 2003-07-22 09:12:50 +00:00
parent 70f5af41c5
commit 98c2527cd7
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ cp: modules libs
( cd CPV; make all )
links:
( mkdir bin/; cd bin/ ; ln -fs ../PW/pw.x ../PW/memory.x ../PH/ph.x ../D3/d3.x ../Gamma/pwg.x ../Gamma/phcg.x ../CPV/cp.x ../FPMD/par2.x ../PP/average.x ../PP/bands.x ../PP/chdens.x ../PP/dos.x ../PP/plotrho.x ../PP/pp.x ../PP/projwfc.x ../PP/voronoy.x ../PP/plotband.x ../pwtools/band_plot.x ../pwtools/dynmat.x ../pwtools/fqha.x ../pwtools/matdyn.x ../pwtools/q2r.x ../pwtools/dist.x . )
test -d bin || mkdir bin
( cd bin/ ; ln -fs ../PW/pw.x ../PW/memory.x ../PH/ph.x ../D3/d3.x ../Gamma/pwg.x ../Gamma/phcg.x ../CPV/cp.x ../FPMD/par2.x ../PP/average.x ../PP/bands.x ../PP/chdens.x ../PP/dos.x ../PP/plotrho.x ../PP/pp.x ../PP/projwfc.x ../PP/voronoy.x ../PP/plotband.x ../pwtools/band_plot.x ../pwtools/dynmat.x ../pwtools/fqha.x ../pwtools/matdyn.x ../pwtools/q2r.x ../pwtools/dist.x . )
clean:
( cd PW ; make clean_ ) ; \