home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
com
/
activexcontrol
/
basectl
/
card
/
makefile
< prev
next >
Wrap
Makefile
|
1997-10-05
|
1KB
|
51 lines
#=--------------------------------------------------------------------------=
# Makefile
#=--------------------------------------------------------------------------=
# Copyright 1995-1997 Microsoft Corporation. All Rights Reserved.
#
# 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.
#=--------------------------------------------------------------------------=
#
# Builds the Card Control
#
crtmt = 1
USE_BASECTL = 1
Proj = Card
# pull in the master SDK makefile that Defines all of the macros
# and all of the build rules
!include <INetSDK.Mak>
all: $(ObjDir)\$(Proj).Ocx Register
# itemize all of the required Object files
Objs=$(ObjDir)\CatHelp.Obj \
$(ObjDir)\Guids.Obj \
$(ObjDir)\Card.Obj \
$(ObjDir)\CardCtl.Obj \
$(ObjDir)\CardDraw.Obj \
$(ObjDir)\CardPPG.Obj \
$(ObjDir)\$(Proj).Res
# special case the odl file since the output header has a special name
$(Proj)Interfaces.h: $(Proj).Odl
mktyplib /DWIN32 -I..\Include /h $(Proj)Interfaces.h /tlb $(Proj).Tlb $(Proj).Odl
# and finally, just Define the dependencies
$(ObjDir)\$(Proj).Ocx: $(Objs)
$(ObjDir)\Guids.Obj: $(@B).Cpp $(Proj)Interfaces.h
cardctl.cpp: cardctl.h carddraw.h
carddraw.cpp: carddraw.h