mirror of https://gitlab.com/QEF/q-e.git
46 lines
997 B
Makefile
46 lines
997 B
Makefile
# Makefile for LAXlib
|
|
|
|
include ../make.inc
|
|
|
|
MODFLAGS= $(MOD_FLAG)../UtilXlib $(MOD_FLAG)../ELPA/src $(MOD_FLAG)../EIGENSOLVER_GPU/lib_eigsolve $(MOD_FLAG) .
|
|
|
|
LAX = la_types.o \
|
|
la_error.o \
|
|
cdiaghg.o \
|
|
rdiaghg.o \
|
|
dspev_drv.o \
|
|
ptoolkit.o \
|
|
transto.o \
|
|
distools.o \
|
|
zhpev_drv.o \
|
|
mp_diag.o \
|
|
set_mpi_comm_4_solvers.o \
|
|
export_gstart_2_solvers.o \
|
|
la_param.o
|
|
|
|
|
|
all : libqela.a
|
|
|
|
|
|
libqela.a: $(LAX)
|
|
$(AR) $(ARFLAGS) $@ $?
|
|
$(RANLIB) $@
|
|
|
|
la_test.x : test.o libqela.a
|
|
$(LD) $(LDFLAGS) -o la_test.x test.o libqela.a $(QELIBS)
|
|
|
|
TEST : la_test.x
|
|
|
|
clean :
|
|
- /bin/rm -f *.o *.a *.d *.i *~ *_tmp.f90 *.mod *.L *.x
|
|
|
|
# .PHONY forces execution of a rule irrespective of the presence of an
|
|
# updated file with the same name of the rule. In this way, the script
|
|
# that generates version.f90 always runs, updating the version if you
|
|
# execute "svn update". The update_version script takes care of not
|
|
# changing the file if the svn version did not change
|
|
|
|
.PHONY: all clean
|
|
|
|
include make.depend
|