Mercurial > vim
diff src/Makefile @ 17966:46f95606b9ec v8.1.1979
patch 8.1.1979: code for handling file names is spread out
Commit: https://github.com/vim/vim/commit/b005cd80cfda591be95146024d9b97eef383500f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 4 15:54:55 2019 +0200
patch 8.1.1979: code for handling file names is spread out
Problem: Code for handling file names is spread out.
Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Sep 2019 16:00:04 +0200 |
parents | 18a0d1c9371e |
children | cf8e0c7e0cb9 |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -1603,6 +1603,7 @@ BASIC_SRC = \ ex_eval.c \ ex_getln.c \ fileio.c \ + filepath.c \ findfile.c \ fold.c \ getchar.c \ @@ -1733,6 +1734,7 @@ OBJ_COMMON = \ objects/ex_eval.o \ objects/ex_getln.o \ objects/fileio.o \ + objects/filepath.o \ objects/findfile.o \ objects/fold.o \ objects/getchar.o \ @@ -1876,6 +1878,7 @@ PRO_AUTO = \ ex_eval.pro \ ex_getln.pro \ fileio.pro \ + filepath.pro \ findfile.pro \ fold.pro \ getchar.pro \ @@ -3101,6 +3104,9 @@ objects/ex_getln.o: ex_getln.c objects/fileio.o: fileio.c $(CCC) -o $@ fileio.c +objects/filepath.o: filepath.c + $(CCC) -o $@ filepath.c + objects/findfile.o: findfile.c $(CCC) -o $@ findfile.c @@ -3629,6 +3635,10 @@ objects/fileio.o: fileio.c vim.h protode 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/filepath.o: filepath.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/findfile.o: findfile.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 \