view src/GvimExt/Make_bc5.mak @ 15470:55ccc2d353bd v8.1.0743

patch 8.1.0743: giving error messages is not flexible commit https://github.com/vim/vim/commit/f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 13 23:38:42 2019 +0100 patch 8.1.0743: giving error messages is not flexible Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jan 2019 23:45:08 +0100
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