From: Bram Moolenaar Date: Wed, 17 Oct 2018 20:45:54 +0000 (+0200) Subject: patch 8.1.0483: MinGW does not build tee.exe X-Git-Tag: v8.1.0483 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04c86d27fed5757ae40246d7bb3fdcd0c1959468;p=vim patch 8.1.0483: MinGW does not build tee.exe Problem: MinGW does not build tee.exe. Solution: Add build instructions. (Yasuhiro Matsumoto, closes #3548) --- diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak index f5f134bda..f30fe2f70 100644 --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -943,7 +943,7 @@ ifeq (yes, $(MAP)) LFLAGS += -Wl,-Map=$(TARGET).map endif -all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll +all: $(TARGET) vimrun.exe xxd/xxd.exe tee/tee.exe install.exe uninstal.exe GvimExt/gvimext.dll vimrun.exe: vimrun.c $(CC) $(CFLAGS) -o vimrun.exe vimrun.c $(LIB) @@ -968,6 +968,9 @@ mpress: exes xxd/xxd.exe: xxd/xxd.c $(MAKE) -C xxd -f Make_ming.mak CC='$(CC)' +tee/tee.exe: tee/tee.c + $(MAKE) -C tee CC='$(CC)' + 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) @@ -996,6 +999,7 @@ ifdef MZSCHEME endif $(MAKE) -C GvimExt -f Make_ming.mak clean $(MAKE) -C xxd -f Make_ming.mak clean + $(MAKE) -C tee clean ########################################################################### INCL = vim.h alloc.h arabic.h ascii.h ex_cmds.h farsi.h feature.h globals.h \ diff --git a/src/tee/Makefile b/src/tee/Makefile index 951a1cc36..12c43d510 100644 --- a/src/tee/Makefile +++ b/src/tee/Makefile @@ -1,4 +1,4 @@ -# A very (if not the most) simplistic Makefile for OS/2 +# A very (if not the most) simplistic Makefile for MS-Windows and OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce diff --git a/src/version.c b/src/version.c index 09334c4a2..2c7550dc1 100644 --- a/src/version.c +++ b/src/version.c @@ -792,6 +792,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 483, /**/ 482, /**/