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

📄 makefile.win32

📁 MICO2.3.13 corba 环境平台
💻 WIN32
字号:
!include <ntwin32.mak>!ifndef MIDLMIDL            = midl!endifRELATIVE = ..\..\..!include ..\..\MakeVars.win32IDL          = idlMIDLFLAGS    = /Oi /ms_ext /c_ext /cpp_cmd $(CC)IDLFLAGS     = --no-codegen-c++ --codegen-midl	# Mico# version# Path of win32-bin WIN32_BIN    = ..\..\..\win32-bin#CXXFLAGS     = /I. /I$(WIN32_BIN)\include /I$(WIN32_BIN)\include\windows -GXLDFLAGS      = $(MANIFEST) $(WIN32_BIN)\lib\mico$(VERSION).lib wsock32.lib /nologo /debug /subsystem:console.cxx.obj:    $(CC) $(cdebug) $(cflags) $(cvarsdll) $(CXXFLAGS) /c $<.c.obj:    $(CC) $(cdebug) $(cflags) $(cvarsdll) $(CXXFLAGS) /c $<all:  account.dll clientCOM.exe serverCOM.exe# Clean up everythingcleanall: clean        @-$(RM) *.exe# Clean up everything but the .EXEsclean:        @-$(RM) *.obj        @-$(RM) account.dll        @-$(RM) account.h        @-$(RM) account.lib        @-$(RM) account.exp        @-$(RM) dlldata.c        @-$(RM) account_?.c	-$(DELETE)#Run IDL compiler to translate CORBA IDL into Microsoft IDLaccount.midl : ..\account2\account.idl	$(IDL) $(IDLFLAGS) ..\account2\account.idl#Run MIDL compiler to generate the header file and the proxy DLL files.account.h dlldata.c account_p.c account_i.c : account.midl    $(MIDL) $(MIDLFLAGS) account.midl#Build the files for the proxy DLL.dlldata.obj : dlldata.c    $(CC) $(cdebug) $(cflags) -DREGISTER_PROXY_DLL $(cvarsdll) /c dlldata.caccount_i.obj : account_i.caccount_p.obj : account_p.c account.h#Link the proxy DLL.!ifdef VC8	account.dll: account_p.obj account_i.obj dlldata.obj account.def    	$(link) $(linkdebug) -DLL -OUT:account.dll -DEF:account.def \    	account_p.obj account_i.obj dlldata.obj rpcrt4.lib uuid.lib kernel32.lib	$(MT) -manifest account.dll.manifest -outputresource:account.dll;#1!else	account.dll: account_p.obj account_i.obj dlldata.obj account.def    	$(link) $(linkdebug) -DLL -OUT:account.dll -DEF:account.def \    	account_p.obj account_i.obj dlldata.obj rpcrt4.lib uuid.lib kernel32.lib!endifaccount.dll: account_p.obj account_i.obj dlldata.obj account.def    $(link) $(linkdebug) -DLL -OUT:account.dll -DEF:account.def \    account_p.obj account_i.obj dlldata.obj rpcrt4.lib uuid.lib kernel32.lib#Build the files for the server application.caccount.obj: caccount.cxx account.herror.obj: error.cxxserverCOM.obj: serverCOM.cxx account.h account_i.c#Link the server application.#serverCOM.exe: caccount.obj error.obj account_i.obj serverCOM.obj#        $(link) $(linkdebug) $(conlflags) -OUT:serverCOM.exe $(LDFLAGS) ..\account2\account.obj \#        caccount.obj error.obj account_i.obj serverCOM.obj  rpcrt4.lib $(ole2libsdll)#Link the server application.!ifdef VC8	serverCOM.exe: caccount.obj error.obj account_i.obj serverCOM.obj        $(link) -OUT:serverCOM.exe $(LDFLAGS) ..\account2\account.obj \        caccount.obj error.obj account_i.obj serverCOM.obj  rpcrt4.lib $(ole2libsdll)	$(MT) -manifest serverCOM.exe.manifest -outputresource:serverCOM.exe;#1!else	serverCOM.exe: caccount.obj error.obj account_i.obj serverCOM.obj        $(link) -OUT:serverCOM.exe $(LDFLAGS) ..\account2\account.obj \        caccount.obj error.obj account_i.obj serverCOM.obj  rpcrt4.lib $(ole2libsdll)!endif#Build the files for the client application.clientCOM.obj: clientCOM.cxx account.h account_i.c#Link the client application.!ifdef VC8	clientCOM.exe: clientCOM.obj error.obj account_i.obj        $(link) $(linkdebug) $(conlflags) -OUT:clientCOM.exe \        clientCOM.obj error.obj account_i.obj rpcrt4.lib $(ole2libsdll)	$(MT) -manifest clientCOM.exe.manifest -outputresource:clientCOM.exe;#1!else	clientCOM.exe: clientCOM.obj error.obj account_i.obj        $(link) $(linkdebug) $(conlflags) -OUT:clientCOM.exe \        clientCOM.obj error.obj account_i.obj rpcrt4.lib $(ole2libsdll)!endif

⌨️ 快捷键说明

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