10
|
1 # Makefile for GvimExt, using MSVC
|
|
2 # Options:
|
|
3 # DEBUG=yes Build debug version (for VC7 and maybe later)
|
|
4 #
|
|
5
|
|
6 TARGETOS=BOTH
|
|
7 APPVER=4.0
|
|
8
|
|
9 !if "$(DEBUG)" != "yes"
|
|
10 NODEBUG = 1
|
|
11 !endif
|
|
12
|
|
13 !include <win32.mak>
|
|
14
|
|
15 all: gvimext.dll
|
|
16
|
|
17 gvimext.dll: gvimext.obj \
|
|
18 gvimext.res
|
|
19 $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib
|
|
20 $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib gvimext.lib comctl32.lib gvimext.exp
|
|
21
|
|
22 gvimext.obj: gvimext.h
|
|
23
|
|
24 .cpp.obj:
|
|
25 $(cc) $(cflags) -DFEAT_GETTEXT $(cvarsdll) $*.cpp
|
|
26
|
|
27 gvimext.res: gvimext.rc
|
|
28 $(rc) $(rcflags) $(rcvars) gvimext.rc
|
|
29
|
|
30 clean:
|
|
31 - if exist gvimext.dll del gvimext.dll
|
|
32 - if exist gvimext.lib del gvimext.lib
|
|
33 - if exist gvimext.exp del gvimext.exp
|
|
34 - if exist gvimext.obj del gvimext.obj
|
|
35 - if exist gvimext.res del gvimext.res
|