⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.vc

📁 Wxpython Implemented on Windows CE, Source code
💻 VC
字号:
#
# File:		makefile.vc
# Author:	Julian Smart
# Created:	1997
# Updated:	
# Copyright:	(c) 1997, Julian Smart
#
# "%W% %G%"
#
# Makefile : Builds simple plugin example (MS VC++).
# Use FINAL=1 argument to nmake to build final version with no debugging
# info

# Set WXDIR for your system
WXDIR = $(WXWIN)

# Application is a DLL
DLL=1

EXTRAINC=/I$(WXDIR)\utils\nplugin\src

!include $(WXDIR)\src\makevc.env

THISDIR = $(WXDIR)\utils\nplugin\smples\simple
PROGRAM=npsimple32
PLUGINLIB=$(WXDIR)\utils\nplugin\lib\nplugin.lib

OBJECTS = simple.obj

all:    $(PROGRAM).dll

$(PROGRAM):    $(PROGRAM).exe

wx:
        cd $(WXDIR)\src\msw
        nmake -f makefile.vc dllnp FINAL=$(FINAL)
        cd $(THISDIR)

# Update the dynamic link library

$(PROGRAM).dll: $(DUMMYOBJ) $(OBJECTS) $(WXLIB) $(PLUGINLIB) $(PROGRAM).res $(PROGRAM).def
    $(link) $(LINKFLAGS) \
    -out:$(PROGRAM).dll   \
    -def:$(PROGRAM).def \
    $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res $(WXLIB) $(PLUGINLIB) \
    $(guilibsdll) lib shell32.lib comctl32.lib ctl3d32.lib ole32.lib

simple.obj:      simple.$(SRCSUFF) $(DUMMYOBJ)
        $(cc) @<<
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
<<

$(PROGRAM).res :      $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
    $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc

copy:
	copy npsimple32.dll "c:\program files\Netscape\Navigator\program\plugins"
	copy npsimple32.dll "c:\program files\Internet Explorer\plugins"

clean:
        -erase *.obj
        -erase *.exe
        -erase *.res
        -erase *.map
        -erase *.sbr
        -erase *.pdb
        -erase *.dll
        -erase *.exp
        -erase *.lib
        -erase *.ilk

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -