2017-07-26 19:15:20 +08:00
|
|
|
# Makefile for DAVID
|
|
|
|
|
|
|
|
include ../make.inc
|
|
|
|
|
|
|
|
# location of needed modules and included files (if any)
|
|
|
|
MODFLAGS=$(MOD_FLAG).
|
|
|
|
|
2021-06-20 08:29:51 +08:00
|
|
|
UTIL = clib_wrappers.o \
|
|
|
|
clocks_handler.o \
|
2020-03-10 01:15:34 +08:00
|
|
|
device_helper.o \
|
2018-11-08 18:29:39 +08:00
|
|
|
divide.o \
|
2018-02-16 01:08:38 +08:00
|
|
|
data_buffer.o \
|
2017-07-26 19:15:20 +08:00
|
|
|
error_handler.o \
|
2019-08-07 20:27:02 +08:00
|
|
|
export_gstart_2_solvers.o \
|
2017-07-26 19:15:20 +08:00
|
|
|
find_free_unit.o \
|
2017-09-03 23:01:51 +08:00
|
|
|
fletcher32_mod.o \
|
2018-02-18 01:53:49 +08:00
|
|
|
mem_counter.o \
|
2017-07-26 19:15:20 +08:00
|
|
|
mp.o \
|
|
|
|
mp_base.o \
|
2018-02-16 01:08:38 +08:00
|
|
|
mp_base_gpu.o \
|
2017-08-09 05:44:44 +08:00
|
|
|
mp_bands_util.o \
|
2017-07-28 04:29:08 +08:00
|
|
|
parallel_include.o \
|
2021-06-20 08:29:51 +08:00
|
|
|
print_mem.o\
|
2019-08-07 20:27:02 +08:00
|
|
|
set_mpi_comm_4_solvers.o \
|
2018-06-03 01:22:42 +08:00
|
|
|
util_param.o \
|
2021-01-25 21:58:53 +08:00
|
|
|
thread_util.o \
|
2021-01-27 06:23:37 +08:00
|
|
|
nvtx_wrapper.o
|
2017-07-26 19:15:20 +08:00
|
|
|
|
|
|
|
all : libutil.a
|
|
|
|
|
|
|
|
|
|
|
|
libutil.a: $(UTIL)
|
|
|
|
$(AR) $(ARFLAGS) $@ $?
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
clean :
|
|
|
|
- /bin/rm -f *.o *.a *.d *.i *~ *_tmp.f90 *.mod *.L *.x
|
|
|
|
|
|
|
|
include make.depend
|