blob: 363c6d608f572c7fa8110e61a93b24ef01d43690 [file] [log] [blame]
Bram Moolenaarf4b8e572004-06-24 15:53:16 +00001### USEDLL no for statically linked version of run-time, yes for DLL runtime
2### BOR path to root of Borland C install (c:\bc5)
3
4### (requires cc3250.dll be available in %PATH%)
5!if ("$(USEDLL)"=="")
6USEDLL = no
7!endif
8
9### BOR: root of the BC installation
10!if ("$(BOR)"=="")
11BOR = c:\bc5
12!endif
13
14CC = $(BOR)\bin\Bcc32
15BRC = $(BOR)\bin\brc32
16LINK = $(BOR)\BIN\ILink32
17INCLUDE = $(BOR)\include;.
18LIB = $(BOR)\lib
19
20!if ("$(USEDLL)"=="yes")
21RT_DEF = -D_RTLDLL
22RT_LIB = cw32i.lib
23!else
24RT_DEF =
25RT_LIB = cw32.lib
26!endif
27
28
29all : gvimext.dll
30
31gvimext.obj : gvimext.cpp gvimext.h
32 $(CC) -tWD -I$(INCLUDE) -c -DFEAT_GETTEXT $(RT_DEF) -w- gvimext.cpp
33
34gvimext.res : gvimext.rc
35 $(BRC) -r gvimext.rc
36
37gvimext.dll : gvimext.obj gvimext.res
38 $(LINK) -L$(LIB) -aa gvimext.obj, gvimext.dll, , c0d32.obj $(RT_LIB) import32.lib, gvimext.def, gvimext.res
39
40clean :
41 -@del gvimext.obj
42 -@del gvimext.res
43 -@del gvimext.dll