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 / chap06 / ianimal / makefile < prev    next >
Makefile  |  1995-05-03  |  1KB  |  58 lines

  1. #
  2. # MAKEFILE
  3. # IAnimal Interface DLL Chapter 6
  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. !ERROR This sample only compiles and runs under Win32
  17. !endif
  18.  
  19. TARGET  = ianimal
  20. OUTFILE = ianimal.dll
  21. DLL     = 1
  22.  
  23. NODOC      = 1
  24. NOUILIB    = 1
  25. NOOCLIB    = 1
  26. NOPRECOMP  = 1
  27. NOCLASSLIB = 1
  28.  
  29. INCLS   =
  30.  
  31. OBJS1   = ianimal_i.obj ianimal_p.obj
  32. OBJS2   = dlldata.obj libmain.obj
  33. OBJS3   = ""
  34. OBJS4   = ""
  35. OBJS5   = ""
  36. OBJS6   = ""
  37. OBJS    = $(OBJS1) $(OBJS2)
  38.  
  39. RCFILES = ianimal.rc
  40.  
  41. !include "..\\..\\inole-a.mak"
  42. LIBS    = rpcrt4.lib
  43. !include "..\\..\\inole-b.mak"
  44.  
  45.  
  46. #Run MIDL.EXE to produce the source code
  47. ianimal.h ianimal_p.c ianimal_i.c dlldata.c: ianimal.idl
  48.     midl /ms_ext /app_config /c_ext ianimal.idl
  49.  
  50.  
  51. ##### Dependencies #####
  52. ianimal_i.obj : ianimal_i.c
  53. ianimal_p.obj : ianimal_p.c ianimal.h
  54. dlldata.obj   : dlldata.c
  55. libmain.obj   : libmain.cpp
  56.  
  57. $(TARGET).res : $(TARGET).rc $(RCFILES)
  58.