From 383283ff2acb0b49c2ff66ca9de63aba4376a993 Mon Sep 17 00:00:00 2001 From: dyzheng Date: Thu, 28 Jul 2022 17:42:02 +0800 Subject: [PATCH] Fix: Makefile error for new Operator --- source/Makefile | 1 + source/Makefile.Objects | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/Makefile b/source/Makefile index 2d87151ffa..2872780da9 100644 --- a/source/Makefile +++ b/source/Makefile @@ -23,6 +23,7 @@ VPATH=./src_global\ :./module_elecstate\ :./module_psi\ :./module_hamilt\ +:./module_hamilt/ks_pw\ :./module_gint\ :./src_pw\ :./src_lcao\ diff --git a/source/Makefile.Objects b/source/Makefile.Objects index 5f5b1afb1b..4d1716e56f 100644 --- a/source/Makefile.Objects +++ b/source/Makefile.Objects @@ -283,7 +283,7 @@ elecstate_pw_sdft.o OBJ_PSI=psi.o -OBJ_HAMILT=hamilt_lcao.o\ +OBJ_OPERATOR=hamilt_lcao.o\ hamilt_pw.o\ ekinetic_pw.o\ meta_pw.o\ @@ -300,7 +300,7 @@ $(OBJ_PLANEWAVE)\ $(OBJ_HSOLVER)\ $(OBJ_ELECSTATES)\ $(OBJ_PSI)\ -${OBJ_HAMILT}\ +${OBJ_OPERATOR}\ charge.o \ charge_mixing.o \ charge_pulay.o \