diff options
author | 2023-10-04 01:27:34 +0800 | |
---|---|---|
committer | 2023-10-17 13:54:06 +0800 | |
commit | b6ea7502c67af360b309c6c296fe487fa3bf5d96 (patch) | |
tree | 93690b000515e3c0cc3fc8b252b8414114b31c83 /src/makefile | |
parent | 27772ba64bb8f49a9d9057acaed2e08d0f7cec68 (diff) | |
download | calendar-b6ea7502c67af360b309c6c296fe487fa3bf5d96.tar.gz calendar-b6ea7502c67af360b309c6c296fe487fa3bf5d96.zip |
输入年份,对去年十一月晦至今年十一月晦的节气和朔日计算排序
输入年份可进行节气与朔日排序
Moon longitude finishing. Sth is wrong with EI in moon longitude.
Successfully fixed the bug with EI & make sure the ShuoRi
节气与月份初步结合,给定年份可确认该年前后之节气与朔日
节气与朔日排序完成
Makefile added.
判断本年(两个冬至之间)是否置闰
时间节点存储与排序由vector改用链表
正确置闰。现测算起止为去年十二月朔至今年十一月晦
2025年冬至之后朔日计算有误,等待修正
2025年十一月朔在12.20,冬至12.21,在函数ShuoRi()里没有计算十二月朔
错误修复,1900-2100测试朔日/节气无误
链表改用单独的类实现。测试成功。
补充注释。执行平均时长由1.75s增长到2.05s
所有文件I/O获得的参数全部写入parameters.h,测试成功,总时间17s
忘记上传测试脚本test.sh了,补上
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile new file mode 100644 index 0000000..5eacb44 --- /dev/null +++ b/src/makefile | |||
@@ -0,0 +1,12 @@ | |||
1 | main:calendar.o Julian.o parameters.o List.o | ||
2 | g++ -g -o main calendar.o Julian.o parameters.o List.o | ||
3 | calendar.o:calendar.cpp calendar.h | ||
4 | g++ -g -c calendar.cpp | ||
5 | Julian.o:Julian.cpp calendar.h | ||
6 | g++ -g -c Julian.cpp | ||
7 | parameters.o:parameters.cpp calendar.h | ||
8 | g++ -g -c parameters.cpp | ||
9 | List.o:List.cpp calendar.h | ||
10 | g++ -g -c List.cpp | ||
11 | clean: | ||
12 | rm -f *.o main | ||