File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ DEBUG=no
3838# set to yes to create a mapfile
3939# MAP=yes
4040
41+ # set to yes to measure code coverage
42+ COVERAGE =no
43+
4144# set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization
4245OPTIMIZE =MAXSPEED
4346
@@ -700,6 +703,11 @@ CFLAGS += -O2
700703LFLAGS += -s
701704endif
702705
706+ ifeq ($(COVERAGE ) ,yes)
707+ CFLAGS += --coverage
708+ LFLAGS += --coverage
709+ endif
710+
703711LIB = -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lnetapi32 -lversion
704712GUIOBJ = $(OUTDIR ) /gui.o $(OUTDIR ) /gui_w32.o $(OUTDIR ) /gui_beval.o
705713CUIOBJ = $(OUTDIR ) /iscygpty.o
@@ -938,6 +946,9 @@ EXELFLAGS += -municode
938946 ifneq ($(DEBUG),yes)
939947EXELFLAGS += -s
940948 endif
949+ ifeq ($(COVERAGE),yes)
950+ EXELFLAGS += --coverage
951+ endif
941952DEFINES += $(DEF_GUI ) -DVIMDLL
942953OBJ += $(GUIOBJ ) $(CUIOBJ )
943954OUTDIR = dobj$(DEBUG_SUFFIX )$(MZSCHEME_SUFFIX )$(ARCH )
Original file line number Diff line number Diff line change @@ -754,6 +754,8 @@ static char *(features[]) =
754754
755755static int included_patches [] =
756756{ /* Add new patch number below this line */
757+ /**/
758+ 1583 ,
757759/**/
758760 1582 ,
759761/**/
You can’t perform that action at this time.
0 commit comments