summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-21 20:48:04 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-21 20:48:04 +0200
commitb20b9e14ddd8db111e886ad0494e15b955159426 (patch)
tree81bf23be4dbc17d4b793a29f3252448f5f1e7322 /src/Makefile
parent4d5c12626c98df23e1a5d953692d946310ddfa9c (diff)
patch 8.1.2062: the mouse code is spread outv8.1.2062
Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 0bfc92d940..eebef252e4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1629,6 +1629,7 @@ BASIC_SRC = \
message.c \
misc1.c \
misc2.c \
+ mouse.c \
move.c \
mbyte.c \
normal.c \
@@ -1762,6 +1763,7 @@ OBJ_COMMON = \
objects/menu.o \
objects/misc1.o \
objects/misc2.o \
+ objects/mouse.o \
objects/move.o \
objects/mbyte.o \
objects/normal.o \
@@ -1921,6 +1923,7 @@ PRO_AUTO = \
message.pro \
misc1.pro \
misc2.pro \
+ mouse.pro \
move.pro \
normal.pro \
ops.pro \
@@ -3287,6 +3290,9 @@ objects/misc1.o: misc1.c
objects/misc2.o: misc2.c
$(CCC) -o $@ misc2.c
+objects/mouse.o: mouse.c
+ $(CCC) -o $@ mouse.c
+
objects/move.o: move.c
$(CCC) -o $@ move.c
@@ -3430,8 +3436,8 @@ objects/encoding.o: libvterm/src/encoding.c $(TERM_DEPS)
objects/keyboard.o: libvterm/src/keyboard.c $(TERM_DEPS)
$(CCCTERM) -o $@ libvterm/src/keyboard.c
-objects/mouse.o: libvterm/src/mouse.c $(TERM_DEPS)
- $(CCCTERM) -o $@ libvterm/src/mouse.c
+objects/termmouse.o: libvterm/src/termmouse.c $(TERM_DEPS)
+ $(CCCTERM) -o $@ libvterm/src/termmouse.c
objects/parser.o: libvterm/src/parser.c $(TERM_DEPS)
$(CCCTERM) -o $@ libvterm/src/parser.c
@@ -3769,6 +3775,10 @@ objects/misc2.o: misc2.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/mouse.o: mouse.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/move.o: move.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 \
@@ -4063,7 +4073,7 @@ objects/encoding.o: libvterm/src/encoding.c libvterm/src/vterm_internal.h \
objects/keyboard.o: libvterm/src/keyboard.c libvterm/src/vterm_internal.h \
libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
libvterm/src/utf8.h
-objects/mouse.o: libvterm/src/mouse.c libvterm/src/vterm_internal.h \
+objects/termmouse.o: libvterm/src/termmouse.c libvterm/src/vterm_internal.h \
libvterm/include/vterm.h libvterm/include/vterm_keycodes.h \
libvterm/src/utf8.h
objects/parser.o: libvterm/src/parser.c libvterm/src/vterm_internal.h \