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 / chap09 / idescrip / makefile < prev    next >
Encoding:
Makefile  |  1995-05-03  |  1.2 KB  |  57 lines

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