Skip to content

Commit 4c587d1

Browse files
author
abacus_fixer
committed
fix(build): update Makefile.Objects for deltaspin_pw_impl migration
Commit dae8f04 moved deltaspin_pw_impl.cpp from module_pwdft to module_deltaspin/deltaspin_pw_mi.cpp and updated both CMakeLists.txt files, but the legacy source/Makefile.Objects was not updated: - Remove stale deltaspin_pw_impl.o from OBJS_SRCPW (file no longer exists, caused "No rule to make target" build error) - Add deltaspin_pw_mi.o to OBJS_DELTASPIN to register the new file and avoid undefined references at link time
1 parent 6ef7d52 commit 4c587d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/Makefile.Objects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,6 @@ OBJS_SRCPW=h_ewald_pw.o\
819819
yukawa_screening.o\
820820
setup_dftu_pw.o\
821821
deltaspin_pw.o\
822-
deltaspin_pw_impl.o\
823822
force_pw.o\
824823
force_pw_us.o\
825824
force_pw_nl.o\
@@ -912,6 +911,7 @@ OBJS_DELTASPIN=basic_funcs.o\
912911
spin_constrain.o\
913912
cal_mw_helper.o\
914913
deltaspin_lcao.o\
914+
deltaspin_pw_mi.o\
915915
mi_tools.o\
916916
template_helpers.o\
917917

0 commit comments

Comments
 (0)