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 / webimage / makefile < prev    next >
Makefile  |  1997-10-12  |  1KB  |  46 lines

  1. #=--------------------------------------------------------------------------=
  2. # Makefile
  3. #=--------------------------------------------------------------------------=
  4. # Copyright 1995 - 1997 Microsoft Corporation.  All Rights Reserved.
  5. #
  6. # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
  7. # ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
  8. # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 
  9. # PARTICULAR PURPOSE.
  10. #=--------------------------------------------------------------------------=
  11. #
  12. # Builds the WebImage Control
  13. #
  14.  
  15. USE_BASECTL = 1
  16.  
  17. Proj = WImg
  18.  
  19. # pull in the master SDK makefile that Defines all of the macros
  20. #  and all of the build rules
  21.  
  22. !include <INetSDK.Mak>
  23.  
  24. all: $(ObjDir)\$(Proj).Ocx Register
  25.  
  26. # itemize all of the required Object files
  27.  
  28. Objs=$(ObjDir)\CatHelp.Obj \
  29.      $(ObjDir)\DibCls.Obj  \
  30.      $(ObjDir)\Guids.Obj   \
  31.      $(ObjDir)\WImg.Obj    \
  32.      $(ObjDir)\WImgCtl.Obj \
  33.      $(ObjDir)\WImgPPG.Obj \
  34.      $(ObjDir)\$(Proj).Res
  35.  
  36. # special case the odl file since the output header has a special name
  37.  
  38. $(Proj)Interfaces.h: $(Proj).Odl
  39.   mktyplib /DWIN32 -I..\BaseCtl\Include /h $(Proj)Interfaces.h /tlb $(Proj).Tlb $(Proj).Odl
  40.  
  41. # and finally, just Define the dependencies
  42.  
  43. $(ObjDir)\$(Proj).Ocx: $(Objs)
  44.  
  45. $(ObjDir)\Guids.Obj: $(@B).Cpp $(Proj)Interfaces.h
  46.