Mercurial > vim
view src/GvimExt/Makefile @ 2612:fa5dee44df3f v7.3.034
updated for version 7.3.034
Problem: Win32: may be loading .dll from the wrong directory.
Solution: Go to the Vim executable directory when opening a library.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 23 Oct 2010 14:02:54 +0200 |
parents | 9fbb40a1228a |
children | d3c291efdb0b |
line wrap: on
line source
# Makefile for GvimExt, using MSVC # Options: # DEBUG=yes Build debug version (for VC7 and maybe later) # TARGETOS=BOTH APPVER=4.0 !if "$(DEBUG)" != "yes" NODEBUG = 1 !endif !include <win32.mak> all: gvimext.dll gvimext.dll: gvimext.obj \ gvimext.res # $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib # $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib gvimext.lib comctl32.lib gvimext.exp $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2 gvimext.obj: gvimext.h .cpp.obj: $(cc) $(cflags) -DFEAT_GETTEXT $(cvarsmt) $*.cpp gvimext.res: gvimext.rc $(rc) $(rcflags) $(rcvars) gvimext.rc clean: - if exist gvimext.dll del gvimext.dll - if exist gvimext.lib del gvimext.lib - if exist gvimext.exp del gvimext.exp - if exist gvimext.obj del gvimext.obj - if exist gvimext.res del gvimext.res - if exist gvimext.dll.manifest del gvimext.dll.manifest