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 / chap14 / beeper3 / makefile < prev    next >
Encoding:
Makefile  |  1995-05-03  |  1.2 KB  |  56 lines

  1. #
  2. # MAKEFILE
  3. # Beeper Automation Object #3 Chapter 14
  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. !ifdef WIN16
  16. !MESSAGE WARNING:  This sample will only compile with OLE 2.02
  17. !endif
  18.  
  19. TARGET  = dbeeper
  20. OUTFILE = dbeeper3.dll
  21. DLL     = 1
  22. NODOC   = 1
  23. NOPRECOMP = 1
  24. NOUILIB = 1
  25. NOCLASSLIB = 1
  26.  
  27. INCLS   = $(TARGET).h beeper.h ibeeper.h
  28.  
  29. OBJS1   = $(TARGET).obj beeper.obj
  30. OBJS2   = ""
  31. OBJS3   = ""
  32. OBJS4   = ""
  33. OBJS5   = ""
  34. OBJS6   = ""
  35. OBJS    = $(OBJS1)
  36.  
  37. RCFILES =
  38.  
  39. TLBHEAD = /h ibeeper.h
  40.  
  41. !include "..\\..\\inole-a.mak"
  42. !include "..\\..\\inole-b.mak"
  43.  
  44. ##### Dependencies #####
  45.  
  46. $(TARGET).obj : $(TARGET).cpp $(INCLS)
  47. beeper.obj    : beeper.cpp    $(INCLS)
  48. $(TARGET).res : $(TARGET).rc  $(INCLS) $(RCFILES)
  49. ibeeper.h     : beep0000.tlb beep0007.tlb
  50.  
  51. #This rule builds other type libraries without generating ibeeper.h
  52. beep0007.tlb  : beep0007.odl
  53.     echo ++++++++++
  54.     echo Compiling $*.odl
  55.     $(WX) mktyplib /nologo /nocpp /o $*.log /tlb $*.tlb $*.odl
  56.