mirror of https://gitlab.com/QEF/q-e.git
57 lines
1.0 KiB
Makefile
57 lines
1.0 KiB
Makefile
# Makefile for GIPAW
|
|
|
|
include ../make.sys
|
|
|
|
# location of needed modules
|
|
MODFLAGS= $(MOD_FLAG)../iotk/src $(MOD_FLAG)../Modules \
|
|
$(MOD_FLAG)../PW $(MOD_FLAG).
|
|
|
|
GIPAWOBJS = \
|
|
gipaw_module.o \
|
|
gipaw_main.o \
|
|
paw_gipaw.o \
|
|
stop_code.o \
|
|
apply_p.o \
|
|
apply_vel.o \
|
|
greenfunction.o \
|
|
h_psiq.o \
|
|
cg_psi.o \
|
|
cgsolve_all.o \
|
|
symmetrize_field.o \
|
|
ch_psi_all.o \
|
|
test_sum_rule.o \
|
|
compute_u_kq.o \
|
|
suscept_crystal.o \
|
|
j_para.o \
|
|
biot_savart.o \
|
|
compute_sigma.o \
|
|
init_gipaw_1.o \
|
|
init_gipaw_2.o \
|
|
init_us_2_no_phase.o \
|
|
g_tensor_crystal.o \
|
|
write_tensor_field.o \
|
|
efg.o
|
|
|
|
QEMODS = ../Modules/libqemod.a
|
|
PWOBJS = ../PW/libpw.a
|
|
|
|
TLDEPS=bindir pw mods libs libiotk
|
|
|
|
all : tldeps gipaw.x
|
|
|
|
gipaw.x : $(GIPAWOBJS) $(PWOBJS) $(LIBOBJS)
|
|
$(LD) $(LDFLAGS) -o $@ $(GIPAWOBJS) \
|
|
$(PWOBJS) $(QEMODS) $(LIBOBJS) $(LIBS)
|
|
- ( cd ../bin; ln -fs ../GIPAW/$@ . )
|
|
|
|
tldeps:
|
|
test -n "$(TLDEPS)" && ( cd .. ; $(MAKE) $(MFLAGS) $(TLDEPS) || exit 1) || :
|
|
|
|
clean :
|
|
- /bin/rm -f gipaw.x *.o *.F90 *.d *.mod *.i *.L
|
|
|
|
include make.depend
|
|
|
|
# DO NOT DELETE
|
|
|