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 / beeper2 / makefile < prev    next >
Makefile  |  1995-05-03  |  1KB  |  52 lines

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