📄 makefile
字号:
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
# PARTICULAR PURPOSE.
#
# Copyright (C) 1997-2003 Microsoft Corporation. All Rights Reserved.
#
#
# Processor independent makefile
# Nmake macros for building Windows 32-Bit apps
!include <win32.mak>
!if ("$(TARGETOS)" == "WINNT") && ("$(APPVER)" != "4.0") \
&& ("$(CPU)" != "IA64") && ("$(CPU)" != "AMD64")
PROJ = TAPISend
all: $(OUTDIR) $(OUTDIR)\$(PROJ).exe
$(OUTDIR) :
if not exist "$(OUTDIR)/$(NULL)" mkdir $(OUTDIR)
# Define project specific macros
PROJ_OBJS = $(OUTDIR)\TAPISend.obj $(OUTDIR)\AVIFileReader.obj
BASE_OBJS =
!message !!!See Readme.Txt about setting the DXSDKROOT enviroment var!!!
INCLUDE = $(DXSDKROOT)\Include;$(DXSDKROOT)\samples\C++\directshow\baseclasses;$(INCLUDE)
DXDBGOUTDIR = Debug
DXRELOUTDIR = Release
!IFDEF NODEBUG
STRMBASE="$(DXSDKROOT)\samples\C++\directshow\baseclasses\$(DXRELOUTDIR)\strmbase.lib" /NODEFAULTLIB:libcmt.lib
!else
STRMBASE="$(DXSDKROOT)\samples\C++\directshow\baseclasses\$(DXDBGOUTDIR)\strmbasd.lib" /NODEFAULTLIB:libcmtd.lib
!endif
EXTRA_LIBS = $(STRMBASE) winMM.lib vfw32.lib user32.lib uuid.lib
# Inference rule for updating the object files
.cpp{$(OUTDIR)}.obj:
$(cc) $(cdebug) $(cflags) /GX $(cvarsdll) /Fo"$(OUTDIR)\\" /Fd"$(OUTDIR)\\" $**
# Build rule for EXE
$(OUTDIR)\$(PROJ).EXE: $(BASE_OBJS) $(PROJ_OBJS)
$(link) $(ldebug) $(conlflags) \
$(BASE_OBJS) $(PROJ_OBJS) $(olelibsmt) \
$(EXTRA_LIBS) -out:$(OUTDIR)\$(PROJ).exe $(MAPFILE)
# Rules for cleaning out old files
clean:
$(CLEANUP)
!else
!if ("$(CPU)" == "IA64") || ("$(CPU)" == "AMD64")
!message Sorry, this sample is not supported on the 64-bit platforms.
!else
!message Sorry, this sample is only supported on the Windows 2000 and above (32-bit).
!endif
!endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -