Skip to content

Commit 039cfcb

Browse files
committed
Fix Makefile 5
1 parent 008fc45 commit 039cfcb

File tree

1 file changed

+2
-2
lines changed
  • source/module_hamilt_pw/hamilt_pwdft

1 file changed

+2
-2
lines changed

source/module_hamilt_pw/hamilt_pwdft/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ ${VERSION}-PW.x : ${FP_OBJS}
124124
#==========================
125125
# rules
126126
#==========================
127-
${OBJ_DIR}/main.o:../main.cpp
128-
${CXX} ${OPTS} -c ${HONG} ../main.cpp -o ${OBJ_DIR}/main.o
127+
${OBJ_DIR}/main.o:../source_main/main.cpp
128+
${CXX} ${OPTS} -c ${HONG} ../source_main/main.cpp -o ${OBJ_DIR}/main.o
129129

130130
${OBJ_DIR}/%.o:%.cpp
131131
${CXX} ${OPTS} -c ${HONG} $< -o $@

0 commit comments

Comments
 (0)