resdll.mak

来自「在网上搜集的一些关于6502的资料,在win2000下调试通过了,有vb也有vc」· MAK 代码 · 共 255 行

MAK
255
字号
# Microsoft Developer Studio Generated NMAKE File, Based on ResDll.dsp
!IF "$(CFG)" == ""
CFG=ResDll - Win32 Debug
!MESSAGE No configuration specified. Defaulting to ResDll - Win32 Debug.
!ENDIF 

!IF "$(CFG)" != "ResDll - Win32 Debug" && "$(CFG)" != "ResDll - Win32 Static Pl" && "$(CFG)" != "ResDll - Win32 Static En" && "$(CFG)" != "ResDll - Win32 Static"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f "ResDll.mak" CFG="ResDll - Win32 Debug"
!MESSAGE 
!MESSAGE Possible choices for configuration are:
!MESSAGE 
!MESSAGE "ResDll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "ResDll - Win32 Static Pl" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "ResDll - Win32 Static En" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "ResDll - Win32 Static" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE 
!ERROR An invalid configuration is specified.
!ENDIF 

!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE 
NULL=nul
!ENDIF 

CPP=cl.exe
MTL=midl.exe
RSC=rc.exe

!IF  "$(CFG)" == "ResDll - Win32 Debug"

OUTDIR=.\Debug
INTDIR=.\ResDll\OutDbg

ALL : "..\Debug\Res.dll"


CLEAN :
	-@erase "$(INTDIR)\6502.res"
	-@erase "$(OUTDIR)\Res.exp"
	-@erase "$(OUTDIR)\Res.pdb"
	-@erase "..\Debug\Res.dll"
	-@erase "..\Debug\Res.ilk"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

"$(INTDIR)" :
    if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"

CPP_PROJ=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\ResDll.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\6502.res" /d "_DEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_ENU" /d "AFX_RESOURCE_DLL" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ResDll.bsc" 
BSC32_SBRS= \
	
LINK32=link.exe
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)\Res.pdb" /debug /machine:I386 /nodefaultlib /out:"../Debug/Res.dll" /implib:"$(OUTDIR)\Res.lib" /pdbtype:sept /noentry 
LINK32_OBJS= \
	"$(INTDIR)\6502.res"

"..\Debug\Res.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

!ELSEIF  "$(CFG)" == "ResDll - Win32 Static Pl"

OUTDIR=.\StaticPl
INTDIR=.\ResDll\OutPl

ALL : "..\StaticPl\Res.dll"


CLEAN :
	-@erase "$(INTDIR)\6502.res"
	-@erase "$(OUTDIR)\Res.exp"
	-@erase "..\StaticPl\Res.dll"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

"$(INTDIR)" :
    if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"

CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\ResDll.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 
RSC_PROJ=/l 0x415 /fo"$(INTDIR)\6502.res" /d "NDEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_PLK" /d "AFX_RESOURCE_DLL" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ResDll.bsc" 
BSC32_SBRS= \
	
LINK32=link.exe
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)\Res.pdb" /machine:I386 /nodefaultlib /out:"../StaticPl/Res.dll" /implib:"$(OUTDIR)\Res.lib" /noentry 
LINK32_OBJS= \
	"$(INTDIR)\6502.res"

"..\StaticPl\Res.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

!ELSEIF  "$(CFG)" == "ResDll - Win32 Static En"

OUTDIR=.\StaticEn
INTDIR=.\ResDll\OutEn

ALL : "..\StaticEn\Res.dll"


CLEAN :
	-@erase "$(INTDIR)\6502.res"
	-@erase "$(OUTDIR)\Res.exp"
	-@erase "..\StaticEn\Res.dll"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

"$(INTDIR)" :
    if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"

CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\ResDll.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\6502.res" /d "NDEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_ENU" /d "AFX_RESOURCE_DLL" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ResDll.bsc" 
BSC32_SBRS= \
	
LINK32=link.exe
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)\Res.pdb" /machine:I386 /nodefaultlib /out:"../StaticEn/Res.dll" /implib:"$(OUTDIR)\Res.lib" /noentry 
LINK32_OBJS= \
	"$(INTDIR)\6502.res"

"..\StaticEn\Res.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

!ELSEIF  "$(CFG)" == "ResDll - Win32 Static"

OUTDIR=.\Static
INTDIR=.\Static

ALL : "..\Static\Res.dll"


CLEAN :
	-@erase "$(INTDIR)\6502.res"
	-@erase "$(OUTDIR)\Res.exp"
	-@erase "..\Static\Res.dll"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\ResDll.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\6502.res" /d "NDEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_ENU" /d "AFX_RESOURCE_DLL" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ResDll.bsc" 
BSC32_SBRS= \
	
LINK32=link.exe
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)\Res.pdb" /machine:I386 /nodefaultlib /out:"../Static/Res.dll" /implib:"$(OUTDIR)\Res.lib" /noentry 
LINK32_OBJS= \
	"$(INTDIR)\6502.res"

"..\Static\Res.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

!ENDIF 

.c{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.c{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<


!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("ResDll.dep")
!INCLUDE "ResDll.dep"
!ELSE 
!MESSAGE Warning: cannot find "ResDll.dep"
!ENDIF 
!ENDIF 


!IF "$(CFG)" == "ResDll - Win32 Debug" || "$(CFG)" == "ResDll - Win32 Static Pl" || "$(CFG)" == "ResDll - Win32 Static En" || "$(CFG)" == "ResDll - Win32 Static"
SOURCE=..\6502.rc

!IF  "$(CFG)" == "ResDll - Win32 Debug"


"$(INTDIR)\6502.res" : $(SOURCE) "$(INTDIR)"
	$(RSC) /l 0x409 /fo"$(INTDIR)\6502.res" /i "\data\6502" /d "_DEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_ENU" /d "AFX_RESOURCE_DLL" $(SOURCE)


!ELSEIF  "$(CFG)" == "ResDll - Win32 Static Pl"


"$(INTDIR)\6502.res" : $(SOURCE) "$(INTDIR)"
	$(RSC) /l 0x415 /fo"$(INTDIR)\6502.res" /i "\data\6502" /d "NDEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_PLK" /d "AFX_RESOURCE_DLL" $(SOURCE)


!ELSEIF  "$(CFG)" == "ResDll - Win32 Static En"


"$(INTDIR)\6502.res" : $(SOURCE) "$(INTDIR)"
	$(RSC) /l 0x409 /fo"$(INTDIR)\6502.res" /i "\data\6502" /d "NDEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_ENU" /d "AFX_RESOURCE_DLL" $(SOURCE)


!ELSEIF  "$(CFG)" == "ResDll - Win32 Static"


"$(INTDIR)\6502.res" : $(SOURCE) "$(INTDIR)"
	$(RSC) /l 0x409 /fo"$(INTDIR)\6502.res" /i "\data\6502" /d "NDEBUG" /d "AFX_TARG_NEU" /d "AFX_TARG_ENU" /d "AFX_RESOURCE_DLL" $(SOURCE)


!ENDIF 


!ENDIF 

⌨️ 快捷键说明

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