这是一本学习 window编程的很好的参考教材

源代码在线查看: cgatedll.mak

软件大小: 5535 K
上传用户: ok34090512
关键词: window 编程 教材
下载地址: 免注册下载 普通下载 VIP

相关代码

				# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
				# ** DO NOT EDIT **
				
				# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
				
				!IF "$(CFG)" == ""
				CFG=cgatedll - Win32 Debug
				!MESSAGE No configuration specified.  Defaulting to cgatedll - Win32 Debug.
				!ENDIF 
				
				!IF "$(CFG)" != "cgatedll - Win32 Release" && "$(CFG)" !=\
				 "cgatedll - Win32 Debug"
				!MESSAGE Invalid configuration "$(CFG)" specified.
				!MESSAGE You can specify a configuration when running NMAKE on this makefile
				!MESSAGE by defining the macro CFG on the command line.  For example:
				!MESSAGE 
				!MESSAGE NMAKE /f "cgatedll.mak" CFG="cgatedll - Win32 Debug"
				!MESSAGE 
				!MESSAGE Possible choices for configuration are:
				!MESSAGE 
				!MESSAGE "cgatedll - Win32 Release" (based on\
				 "Win32 (x86) Dynamic-Link Library")
				!MESSAGE "cgatedll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
				!MESSAGE 
				!ERROR An invalid configuration is specified.
				!ENDIF 
				
				!IF "$(OS)" == "Windows_NT"
				NULL=
				!ELSE 
				NULL=nul
				!ENDIF 
				################################################################################
				# Begin Project
				# PROP Target_Last_Scanned "cgatedll - Win32 Debug"
				MTL=mktyplib.exe
				CPP=cl.exe
				RSC=rc.exe
				
				!IF  "$(CFG)" == "cgatedll - Win32 Release"
				
				# PROP BASE Use_MFC 0
				# PROP BASE Use_Debug_Libraries 0
				# PROP BASE Output_Dir "Release"
				# PROP BASE Intermediate_Dir "Release"
				# PROP BASE Target_Dir ""
				# PROP Use_MFC 0
				# PROP Use_Debug_Libraries 0
				# PROP Output_Dir "Release"
				# PROP Intermediate_Dir "Release"
				# PROP Target_Dir ""
				OUTDIR=.\Release
				INTDIR=.\Release
				
				ALL : "..\bin\cgatedll.dll"
				
				CLEAN : 
					-@erase "$(INTDIR)\cgatedll.obj"
					-@erase "..\bin\cgatedll.dll"
					-@erase "..\bin\cgatedll.exp"
					-@erase "..\bin\cgatedll.lib"
				
				"$(OUTDIR)" :
				    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
				
				# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
				# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
				CPP_PROJ=/nologo /MT /W3 /GX /O2 /I "..\include" /D "WIN32" /D "NDEBUG" /D\
				 "_WINDOWS" /Fp"$(INTDIR)/cgatedll.pch" /YX /Fo"$(INTDIR)/" /c 
				CPP_OBJS=.\Release/
				CPP_SBRS=.\.
				# ADD BASE MTL /nologo /D "NDEBUG" /win32
				# ADD MTL /nologo /D "NDEBUG" /win32
				MTL_PROJ=/nologo /D "NDEBUG" /win32 
				# ADD BASE RSC /l 0x409 /d "NDEBUG"
				# ADD RSC /l 0x409 /d "NDEBUG"
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				BSC32_FLAGS=/nologo /o"$(OUTDIR)/cgatedll.bsc" 
				BSC32_SBRS= \
					
				LINK32=link.exe
				# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
				# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"..\bin\cgatedll.dll" /implib:"..\bin\cgatedll.lib"
				# SUBTRACT LINK32 /pdb:none
				LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
				 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
				 odbccp32.lib /nologo /subsystem:windows /dll /incremental:no\
				 /pdb:"$(OUTDIR)/cgatedll.pdb" /machine:I386 /def:".\cgatedll.def"\
				 /out:"..\bin\cgatedll.dll" /implib:"..\bin\cgatedll.lib" 
				DEF_FILE= \
					".\cgatedll.def"
				LINK32_OBJS= \
					"$(INTDIR)\cgatedll.obj"
				
				"..\bin\cgatedll.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
				    $(LINK32) @				  $(LINK32_FLAGS) $(LINK32_OBJS)
								
				!ELSEIF  "$(CFG)" == "cgatedll - Win32 Debug"
				
				# PROP BASE Use_MFC 0
				# PROP BASE Use_Debug_Libraries 1
				# PROP BASE Output_Dir "Debug"
				# PROP BASE Intermediate_Dir "Debug"
				# PROP BASE Target_Dir ""
				# PROP Use_MFC 0
				# PROP Use_Debug_Libraries 1
				# PROP Output_Dir "Debug"
				# PROP Intermediate_Dir "Debug"
				# PROP Target_Dir ""
				OUTDIR=.\Debug
				INTDIR=.\Debug
				
				ALL : "..\bin\cgatedll.dll"
				
				CLEAN : 
					-@erase "$(INTDIR)\cgatedll.obj"
					-@erase "$(INTDIR)\vc40.idb"
					-@erase "$(INTDIR)\vc40.pdb"
					-@erase "$(OUTDIR)\cgatedll.pdb"
					-@erase "..\bin\cgatedll.dll"
					-@erase "..\bin\cgatedll.ilk"
					-@erase "..\bin\cgatedll.exp"
					-@erase "..\bin\cgatedll.lib"
				
				"$(OUTDIR)" :
				    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
				
				# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
				# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
				CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\include" /D "WIN32" /D\
				 "_DEBUG" /D "_WINDOWS" /Fp"$(INTDIR)/cgatedll.pch" /YX /Fo"$(INTDIR)/"\
				 /Fd"$(INTDIR)/" /c 
				CPP_OBJS=.\Debug/
				CPP_SBRS=.\.
				# ADD BASE MTL /nologo /D "_DEBUG" /win32
				# ADD MTL /nologo /D "_DEBUG" /win32
				MTL_PROJ=/nologo /D "_DEBUG" /win32 
				# ADD BASE RSC /l 0x409 /d "_DEBUG"
				# ADD RSC /l 0x409 /d "_DEBUG"
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				BSC32_FLAGS=/nologo /o"$(OUTDIR)/cgatedll.bsc" 
				BSC32_SBRS= \
					
				LINK32=link.exe
				# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386
				# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"..\bin\cgatedll.dll" /implib:"..\bin\cgatedll.lib"
				# SUBTRACT LINK32 /pdb:none
				LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
				 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
				 odbccp32.lib /nologo /subsystem:windows /dll /incremental:yes\
				 /pdb:"$(OUTDIR)/cgatedll.pdb" /debug /machine:I386 /def:".\cgatedll.def"\
				 /out:"..\bin\cgatedll.dll" /implib:"..\bin\cgatedll.lib" 
				DEF_FILE= \
					".\cgatedll.def"
				LINK32_OBJS= \
					"$(INTDIR)\cgatedll.obj"
				
				"..\bin\cgatedll.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
				    $(LINK32) @				  $(LINK32_FLAGS) $(LINK32_OBJS)
								
				!ENDIF 
				
				.c{$(CPP_OBJS)}.obj:
				   $(CPP) $(CPP_PROJ) $<  
				
				.cpp{$(CPP_OBJS)}.obj:
				   $(CPP) $(CPP_PROJ) $<  
				
				.cxx{$(CPP_OBJS)}.obj:
				   $(CPP) $(CPP_PROJ) $<  
				
				.c{$(CPP_SBRS)}.sbr:
				   $(CPP) $(CPP_PROJ) $<  
				
				.cpp{$(CPP_SBRS)}.sbr:
				   $(CPP) $(CPP_PROJ) $<  
				
				.cxx{$(CPP_SBRS)}.sbr:
				   $(CPP) $(CPP_PROJ) $<  
				
				################################################################################
				# Begin Target
				
				# Name "cgatedll - Win32 Release"
				# Name "cgatedll - Win32 Debug"
				
				!IF  "$(CFG)" == "cgatedll - Win32 Release"
				
				!ELSEIF  "$(CFG)" == "cgatedll - Win32 Debug"
				
				!ENDIF 
				
				################################################################################
				# Begin Source File
				
				SOURCE=.\cgatedll.c
				DEP_CPP_CGATE=\
					"..\include\gate.h"\
					".\callgate.h"\
					
				
				"$(INTDIR)\cgatedll.obj" : $(SOURCE) $(DEP_CPP_CGATE) "$(INTDIR)"
				
				
				# End Source File
				################################################################################
				# Begin Source File
				
				SOURCE=.\cgatedll.def
				
				!IF  "$(CFG)" == "cgatedll - Win32 Release"
				
				!ELSEIF  "$(CFG)" == "cgatedll - Win32 Debug"
				
				!ENDIF 
				
				# End Source File
				# End Target
				# End Project
				################################################################################
							

相关资源