From 08b1a3e4a856419c41634e413913305831876e2c Mon Sep 17 00:00:00 2001 From: Asuna981002 <77267331+Asuna981002@users.noreply.github.com> Date: Sun, 24 Apr 2022 09:58:31 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9AAdded=20support=20for=20makefile=20?= =?UTF-8?q?to=20module=5Fsurchem.=20(#871)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Makefile | 2 ++ source/Makefile.Objects | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/source/Makefile b/source/Makefile index 21740cf414..877b2639b4 100644 --- a/source/Makefile +++ b/source/Makefile @@ -14,6 +14,7 @@ VPATH=./src_global\ :./module_cell\ :./module_base\ :./module_md\ +:./module_surchem\ :./module_deepks\ :./module_xc\ :./module_esolver\ @@ -68,6 +69,7 @@ FP_OBJS_0=$(OBJS_FIRST_PRINCIPLES)\ $(OBJS_PARALLEL)\ $(OBJS_TOOLS) \ $(OBJS_COMMON)\ +$(OBJS_SURCHEM)\ main.o\ FP_OBJS=$(patsubst %.o, ${OBJ_DIR}/%.o, ${FP_OBJS_0}) diff --git a/source/Makefile.Objects b/source/Makefile.Objects index 083889788a..fde04d5b4a 100644 --- a/source/Makefile.Objects +++ b/source/Makefile.Objects @@ -367,6 +367,15 @@ pzt2s.o\ pdtrsm.o\ pzhtrsm.o\ +OBJS_SURCHEM=cal_epsilon.o\ +cal_pseudo.o\ +cal_totn.o\ +cal_vcav.o\ +cal_vel.o\ +corrected_energy.o\ +H_correction_pw.o\ +minimize_cg.o\ + PDIAG_MR_0=dcopy.o\ dlae2.o\ dlaebz.o\