Mercurial > vim
view src/GvimExt/Make_bc5.mak @ 7129:aaf96b1aa605 v7.4.876
commit https://github.com/vim/vim/commit/b0262f239e77480f81fa3345491b7b6d52a17f6d
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 25 15:28:38 2015 +0200
patch 7.4.876
Problem: Windows7: when using vim.exe with msys or msys2, conhost.exe
(console window provider on Windows7) will freeze or crash.
Solution: Make original screen buffer active, before executing external
program. And when the program is finished, revert to vim's one.
(Taro Muraoka)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 25 Sep 2015 15:30:04 +0200 |
parents | 4e2284e71352 |
children |
line wrap: on
line source
### USEDLL no for statically linked version of run-time, yes for DLL runtime ### BOR path to root of Borland C install (c:\bc5) ### (requires cc3250.dll be available in %PATH%) !if ("$(USEDLL)"=="") USEDLL = no !endif ### BOR: root of the BC installation !if ("$(BOR)"=="") BOR = c:\bc5 !endif CC = $(BOR)\bin\Bcc32 BRC = $(BOR)\bin\brc32 LINK = $(BOR)\BIN\ILink32 INCLUDE = $(BOR)\include;. LIB = $(BOR)\lib !if ("$(USEDLL)"=="yes") RT_DEF = -D_RTLDLL RT_LIB = cw32i.lib !else RT_DEF = RT_LIB = cw32.lib !endif all : gvimext.dll gvimext.obj : gvimext.cpp gvimext.h $(CC) -tWD -I$(INCLUDE) -c -DFEAT_GETTEXT $(RT_DEF) -w- gvimext.cpp gvimext.res : gvimext.rc $(BRC) -r gvimext.rc gvimext.dll : gvimext.obj gvimext.res $(LINK) -L$(LIB) -aa gvimext.obj, gvimext.dll, , c0d32.obj $(RT_LIB) import32.lib, gvimext.def, gvimext.res clean : -@del gvimext.obj -@del gvimext.res -@del gvimext.dll