The linking step for the Gamma phonon was done in a slighty different way from all

other cases: the main code was loaded into the library, while in all other cases it
is kept separate from the library. Not a big deal but some old gfortran complains
This commit is contained in:
Paolo Giannozzi 2019-03-28 12:41:51 +01:00
parent c44f8822b3
commit 39747fdd08
1 changed files with 3 additions and 4 deletions

View File

@ -30,7 +30,6 @@ generate_dynamical_matrix.o \
generate_effective_charges.o \
h_h.o \
macro.o \
phcg.o \
rhod2vkb.o \
solve_e.o \
solve_ph.o \
@ -44,9 +43,9 @@ TLDEPS= pwlibs
all : tldeps phcg.x
phcg.x : libphcg.a $(PWOBJS) $(QEMODS) $(LIBOBJS)
$(LD) $(LDFLAGS) -o phcg.x \
libphcg.a $(PWOBJS) $(QEMODS) $(LIBOBJS) $(QELIBS)
phcg.x : phcg.o libphcg.a $(PWOBJS) $(QEMODS) $(LIBOBJS)
$(LD) $(LDFLAGS) -o $@ \
phcg.o libphcg.a $(PWOBJS) $(QEMODS) $(LIBOBJS) $(QELIBS)
- ( cd ../../bin ; ln -fs ../PHonon/Gamma/phcg.x . )
tldeps :
if test -n "$(TLDEPS)" ; then \