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