patch 8.2.0256: time and timer related code is spread out
Problem: Time and timer related code is spread out.
Solution: Move time and timer related code to a new file. (Yegappan
Lakshmanan, closes #5604)
diff --git a/src/Makefile b/src/Makefile
index 912098f..e284530 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1661,6 +1661,7 @@
terminal.c \
testing.c \
textprop.c \
+ time.c \
ui.c \
undo.c \
usercmd.c \
@@ -1800,6 +1801,7 @@
objects/terminal.o \
objects/testing.o \
objects/textprop.o \
+ objects/time.o \
objects/ui.o \
objects/undo.o \
objects/usercmd.o \
@@ -1971,6 +1973,7 @@
termlib.pro \
testing.pro \
textprop.pro \
+ time.pro \
ui.pro \
undo.pro \
usercmd.pro \
@@ -3433,6 +3436,9 @@
objects/textprop.o: textprop.c
$(CCC) -o $@ textprop.c
+objects/time.o: time.c
+ $(CCC) -o $@ time.c
+
objects/ui.o: ui.c
$(CCC) -o $@ ui.c
@@ -3959,6 +3965,10 @@
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
proto.h globals.h
+objects/time.o: time.c vim.h protodef.h auto/config.h feature.h os_unix.h \
+ auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
+ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
+ proto.h globals.h
objects/ui.o: ui.c vim.h protodef.h auto/config.h feature.h os_unix.h \
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \