home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / chap16 / beeper6 / makefile < prev    next >
Encoding:
Makefile  |  1995-05-03  |  1.4 KB  |  60 lines

  1. #
  2. # MAKEFILE
  3. # Beeper Object #6 with Property Pages Chapter 16
  4. #
  5. # Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  6. #
  7. # Kraig Brockschmidt, Microsoft
  8. # Internet  :  kraigb@microsoft.com
  9. # Compuserve:  >INTERNET:kraigb@microsoft.com
  10. #
  11.  
  12. #Add '#' to the next line for 'noisy' operation
  13. !CMDSWITCHES +s
  14.  
  15. TARGET  = beeper
  16. OUTFILE = dbeeper6.dll
  17. DLL     = 1
  18. NODOC   = 1
  19. NOUILIB = 1
  20. NOCLASSLIB = 1
  21.  
  22. INCLS   = $(TARGET).h beeper.h ibeeper.h
  23.  
  24. OBJS1   = dbeeper.obj precomp.obj
  25. OBJS2   = $(TARGET).obj connpt.obj
  26. OBJS3   = ""
  27. OBJS4   = ""
  28. OBJS5   = ""
  29. OBJS6   = ""
  30. OBJS    = $(OBJS1) $(OBJS2)
  31.  
  32. RCFILES =
  33.  
  34. TLBHEAD = /h ibeeper.h
  35.  
  36. !include "..\\..\\inole-a.mak"
  37. !include "..\\..\\inole-b.mak"
  38.  
  39. ##### Dependencies #####
  40.  
  41. #Application level things
  42. #The file that does #define INITGUIDS should not use precompiled headers.
  43. dbeeper.obj : dbeeper.cpp   $(INCLS)
  44.     echo ++++++++++
  45.     echo Compiling $*.cpp
  46.     cl $(CFLAGS) $(DEFS) $(DOC) $*.cpp
  47.  
  48. $(TARGET).obj : $(TARGET).cpp $(INCLS)
  49. beeper.obj    : beeper.cpp    $(INCLS)
  50. connpt.obj    : connpt.cpp    $(INCLS)
  51.  
  52. beeper.res    : beeper.rc     $(INCLS) $(RCFILES)
  53. ibeeper.h     : beep0000.tlb beep0007.tlb
  54.  
  55. #This rule builds other type libraries without generating ibeeper.h
  56. beep0007.tlb  : beep0007.odl
  57.     echo ++++++++++
  58.     echo Compiling $*.odl
  59.     $(WX) mktyplib /nologo /nocpp /o $*.log /tlb $*.tlb $*.odl
  60.