Skip to content

Commit 115510f

Browse files
committed
patch 8.1.0482: MinGW "make clean" deletes all .exe files
Problem: MinGW "make clean" deletes all .exe files. Solution: Only delete .exe files that it builds. (Ken takata)
1 parent 29e7fe5 commit 115510f

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/Make_cyg_ming.mak

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,11 @@ GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
972972
$(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS)
973973

974974
tags: notags
975-
$(CTAGS) *.c *.cpp *.h if_perl.xs
975+
$(CTAGS) *.c *.cpp *.h
976+
ifdef PERL
977+
$(CTAGS) --append=yes auto$(DIRSLASH)if_perl.c
978+
endif
979+
976980

977981
notags:
978982
-$(DEL) tags
@@ -981,7 +985,7 @@ clean:
981985
-$(DEL) $(OUTDIR)$(DIRSLASH)*.o
982986
-$(DEL) $(OUTDIR)$(DIRSLASH)*.res
983987
-rmdir $(OUTDIR)
984-
-$(DEL) *.exe
988+
-$(DEL) $(TARGET) vimrun.exe install.exe uninstal.exe
985989
-$(DEL) pathdef.c
986990
ifdef PERL
987991
-$(DEL) if_perl.c

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,8 @@ static char *(features[]) =
792792

793793
static int included_patches[] =
794794
{ /* Add new patch number below this line */
795+
/**/
796+
482,
795797
/**/
796798
481,
797799
/**/

0 commit comments

Comments
 (0)