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
|
3943
|
13 !ifdef SDK_INCLUDE_DIR
|
|
14 !include $(SDK_INCLUDE_DIR)\Win32.mak
|
|
15 !else
|
|
16 !include <Win32.mak>
|
|
17 !endif
|
10
|
18
|
|
19 all: gvimext.dll
|
|
20
|
|
21 gvimext.dll: gvimext.obj \
|
|
22 gvimext.res
|
714
|
23 # $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib
|
|
24 # $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib gvimext.lib comctl32.lib gvimext.exp
|
|
25 $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib
|
1117
|
26 if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2
|
10
|
27
|
|
28 gvimext.obj: gvimext.h
|
|
29
|
|
30 .cpp.obj:
|
1569
|
31 $(cc) $(cflags) -DFEAT_GETTEXT $(cvarsmt) $*.cpp
|
10
|
32
|
|
33 gvimext.res: gvimext.rc
|
|
34 $(rc) $(rcflags) $(rcvars) gvimext.rc
|
|
35
|
|
36 clean:
|
|
37 - if exist gvimext.dll del gvimext.dll
|
|
38 - if exist gvimext.lib del gvimext.lib
|
|
39 - if exist gvimext.exp del gvimext.exp
|
|
40 - if exist gvimext.obj del gvimext.obj
|
|
41 - if exist gvimext.res del gvimext.res
|
1117
|
42 - if exist gvimext.dll.manifest del gvimext.dll.manifest
|