home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / shell / bandobjs / makefile < prev    next >
Encoding:
Makefile  |  1997-12-11  |  1.2 KB  |  47 lines

  1. Proj = BandObjs
  2. dll = 1
  3.  
  4. _WIN32_IE = 0x0400 
  5.  
  6. # These are "extra" libs beyond the standard set that inetsdk.mak will
  7. #  append to the libs set
  8.  
  9. libs=shell32.lib
  10.  
  11. # pull in the master SDK makefile that defines all of the macros
  12. #  and all of the build rules
  13.  
  14. !include <inetsdk.mak>
  15.  
  16. # itemize all of the required Object files
  17.  
  18. Objs =   $(ObjDir)\$(Proj).Obj  \
  19.          $(ObjDir)\ClsFact.Obj \
  20.          $(ObjDir)\CommBand.Obj \
  21.          $(ObjDir)\DeskBand.Obj \
  22.          $(ObjDir)\ExplrBar.Obj
  23.  
  24. # itemize all of the required include files
  25.  
  26. Includes =  ClsFact.h \
  27.             CommBand.h \
  28.             DeskBand.h \
  29.             ExplrBar.h \
  30.             Globals.h \
  31.             Guid.h
  32.  
  33. # add the .def file to the link flags
  34. linkflags = $(linkflags) -def:BandObjs.def
  35.  
  36. $(ObjDir)\BandObjs.Obj  : $(@B).Cpp $(Includes)
  37. $(ObjDir)\ClsFact.Obj   : $(@B).Cpp $(Includes)
  38. $(ObjDir)\CommBand.Obj  : $(@B).Cpp $(Includes)
  39. $(ObjDir)\DeskBand.Obj  : $(@B).Cpp $(Includes)
  40. $(ObjDir)\ExplrBar.Obj  : $(@B).Cpp $(Includes)
  41.  
  42. $(ObjDir)\$(Proj).dll   : $(Objs)
  43.  
  44. All: $(ObjDir)\$(Proj).dll 
  45.    regsvr32.exe /s /c $(ObjDir)\$(Proj).dll >> $(ObjDir)\Register.Out
  46.  
  47.