Mercurial > vim
diff src/Makefile @ 18172:6e53d83e021d v8.1.2081
patch 8.1.2081: the spell.c file is too big
Commit: https://github.com/vim/vim/commit/46a426c9acfdd3d6c0fa134a17681634b9325bee
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 27 12:41:56 2019 +0200
patch 8.1.2081: the spell.c file is too big
Problem: The spell.c file is too big.
Solution: Move the code for spell suggestions to a separate file. (Yegappan
Lakshmanan, closes #4988)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Sep 2019 12:45:08 +0200 |
parents | f57481564f2c |
children | 1ec6539cef68 |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -1654,6 +1654,7 @@ BASIC_SRC = \ sound.c \ spell.c \ spellfile.c \ + spellsuggest.c \ syntax.c \ tag.c \ term.c \ @@ -1789,6 +1790,7 @@ OBJ_COMMON = \ objects/sound.o \ objects/spell.o \ objects/spellfile.o \ + objects/spellsuggest.o \ objects/syntax.o \ objects/tag.o \ objects/term.o \ @@ -1949,6 +1951,7 @@ PRO_AUTO = \ sound.pro \ spell.pro \ spellfile.pro \ + spellsuggest.pro \ syntax.pro \ tag.pro \ term.pro \ @@ -3386,6 +3389,9 @@ objects/spell.o: spell.c objects/spellfile.o: spellfile.c $(CCC) -o $@ spellfile.c +objects/spellsuggest.o: spellsuggest.c + $(CCC) -o $@ spellsuggest.c + objects/syntax.o: syntax.c $(CCC) -o $@ syntax.c @@ -3881,6 +3887,10 @@ objects/spellfile.o: spellfile.c vim.h p 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/spellsuggest.o: spellsuggest.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/syntax.o: syntax.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 \