0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2018-10-17 22:12:14 +02:00
parent 29e7fe55be
commit 115510f0bd
2 changed files with 8 additions and 2 deletions

View File

@@ -972,7 +972,11 @@ GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
$(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS) $(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS)
tags: notags tags: notags
$(CTAGS) *.c *.cpp *.h if_perl.xs $(CTAGS) *.c *.cpp *.h
ifdef PERL
$(CTAGS) --append=yes auto$(DIRSLASH)if_perl.c
endif
notags: notags:
-$(DEL) tags -$(DEL) tags
@@ -981,7 +985,7 @@ clean:
-$(DEL) $(OUTDIR)$(DIRSLASH)*.o -$(DEL) $(OUTDIR)$(DIRSLASH)*.o
-$(DEL) $(OUTDIR)$(DIRSLASH)*.res -$(DEL) $(OUTDIR)$(DIRSLASH)*.res
-rmdir $(OUTDIR) -rmdir $(OUTDIR)
-$(DEL) *.exe -$(DEL) $(TARGET) vimrun.exe install.exe uninstal.exe
-$(DEL) pathdef.c -$(DEL) pathdef.c
ifdef PERL ifdef PERL
-$(DEL) if_perl.c -$(DEL) if_perl.c

View File

@@ -792,6 +792,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
482,
/**/ /**/
481, 481,
/**/ /**/