Mercurial > vim
diff src/Makefile @ 9562:86af4a48c00a v7.4.2058
commit https://github.com/vim/vim/commit/a9b579f3d7463720a316e11e77a7a9fbb9267986
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 17 18:29:19 2016 +0200
patch 7.4.2058
Problem: eval.c is too big.
Solution: Move user functions to userfunc.c
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jul 2016 18:30:05 +0200 |
parents | 1e68dfd7931b |
children | 5eaa708ab50d |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -1531,6 +1531,7 @@ BASIC_SRC = \ term.c \ ui.c \ undo.c \ + userfunc.c \ version.c \ window.c \ $(OS_EXTRA_SRC) @@ -1631,6 +1632,7 @@ OBJ_COMMON = \ objects/term.o \ objects/ui.o \ objects/undo.o \ + objects/userfunc.o \ objects/version.o \ objects/window.o \ $(GUI_OBJ) \ @@ -1731,6 +1733,7 @@ PRO_AUTO = \ termlib.pro \ ui.pro \ undo.pro \ + userfunc.pro \ version.pro \ window.pro \ gui_beval.pro \ @@ -3066,6 +3069,9 @@ objects/ui.o: ui.c objects/undo.o: undo.c $(CCC) -o $@ undo.c +objects/userfunc.o: userfunc.c + $(CCC) -o $@ userfunc.c + objects/window.o: window.c $(CCC) -o $@ window.c @@ -3379,6 +3385,10 @@ objects/undo.o: undo.c vim.h auto/config ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \ gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \ farsi.h arabic.h +objects/userfunc.o: userfunc.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \ + ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \ + gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \ + farsi.h arabic.h objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \ ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \ gui_beval.h proto/gui_beval.pro alloc.h ex_cmds.h proto.h globals.h \