Mercurial > vim
diff src/Makefile @ 15717:2b29779475c0 v8.1.0866
patch 8.1.0866: build file dependencies are outdated
commit https://github.com/vim/vim/commit/1c321dcee966b82a527cb34bbadd5874d6bc454a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 1 20:42:22 2019 +0100
patch 8.1.0866: build file dependencies are outdated
Problem: Build file dependencies are outdated. (John Little)
Solution: Run "make proto" and "make depend".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Feb 2019 20:45:07 +0100 |
parents | 2d941023bd2f |
children | 99ebf78686a9 |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -472,11 +472,8 @@ CClink = $(CC) # Uncomment this when you want to include the Cscope interface. #CONF_OPT_CSCOPE = --enable-cscope -# WORKSHOP - Sun Visual Workshop interface. Only works with Motif! -#CONF_OPT_WORKSHOP = --enable-workshop - # NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome. -# Motif version must have XPM libraries (see |workshop-xpm|). +# Motif version must have XPM libraries (see |netbeans-xpm|). # Uncomment this when you do not want the netbeans interface. #CONF_OPT_NETBEANS = --disable-netbeans @@ -610,6 +607,8 @@ CClink = $(CC) #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes # Use this with GCC to check for mistakes, unused arguments, etc. +# Note: If you use -Wextra and get warnings in GTK code about function +# parameters, you can add -Wno-cast-function-type #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 # Add -Wpedantic to find // comments and other C99 constructs. # Better disable Perl and Python to avoid a lot of warnings. @@ -3388,10 +3387,10 @@ objects/arabic.o: arabic.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 farsi.h arabic.h -objects/autocmd.o: autocmd.c vim.h protodef.h auto/config.h feature.h \ - auto/osdef.h os_unix.h os_mac.h ascii.h keymap.h term.h macros.h option.h beval.h \ - structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h proto.h globals.h \ - farsi.h arabic.h +objects/autocmd.o: autocmd.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 farsi.h arabic.h objects/beval.o: beval.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 \ @@ -3497,9 +3496,9 @@ objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \ proto.h globals.h farsi.h arabic.h version.h objects/indent.o: indent.c vim.h protodef.h auto/config.h feature.h os_unix.h \ - os_mac.h ascii.h keymap.h term.h macros.h option.h beval.h structs.h \ - regexp.h gui.h alloc.h ex_cmds.h spell.h proto.h globals.h farsi.h \ - arabic.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 farsi.h arabic.h objects/json.o: json.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 \