1
0
forked from aniani/vim

patch 8.1.0500: cleaning up in src/tee may not always work

Problem:    Cleaning up in src/tee may not always work.
Solution:   Use "rm" when appropriate. (Michael Soyka, closes #3571)
This commit is contained in:
Bram Moolenaar
2018-10-28 15:43:58 +01:00
parent 1c29943416
commit 833e5dab14
2 changed files with 10 additions and 2 deletions

View File

@@ -3,6 +3,12 @@
CC=gcc
CFLAGS=-O2 -fno-strength-reduce
ifneq (sh.exe, $(SHELL))
DEL = rm
else
DEL = del
endif
tee.exe: tee.o
$(CC) $(CFLAGS) -s -o $@ $<
@@ -10,6 +16,6 @@ tee.o: tee.c
$(CC) $(CFLAGS) -c $<
clean:
- del tee.o
- del tee.exe
- $(DEL) tee.o
- $(DEL) tee.exe

View File

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