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 / chap18 / cosmo / makefile < prev    next >
Makefile  |  1995-05-03  |  2KB  |  69 lines

  1. #
  2. # MAKEFILE
  3. # Cosmo Chapter 18
  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  = cosmo
  16. OUTFILE = cosmo18.exe
  17. NOOCLIB = 1
  18. NOUILIB = 1
  19.  
  20. INCLS    = $(TARGET).h resource.h cosmole.h
  21.  
  22. OBJS1    = $(TARGET).obj client.obj precomp.obj
  23. OBJS2    = document.obj polyline.obj polywin.obj
  24. OBJS3    = dropsrc.obj droptgt.obj iclassf.obj
  25. OBJS4    = figure.obj iperstor.obj idataobj.obj ioleobj.obj
  26. OBJS5    = ""
  27. OBJS6    = ""
  28. OBJS     = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4)
  29.  
  30. RCFILES1 = $(TARGET).ico document.ico about.dlg
  31. RCFILES2 = gizmo72.bmp gizmo96.bmp gizmo120.bmp
  32. RCFILES  = $(RCFILES1) $(RCFILES2)
  33.  
  34. !include "..\\..\\inole-a.mak"
  35. !include "..\\..\\inole-b.mak"
  36.  
  37. ##### Dependencies #####
  38.  
  39. $(TARGET).res : $(TARGET).rc $(INCLS) $(RCFILES)
  40.  
  41. #Application level things
  42. #The file that does #define INITGUIDS should not use precompiled headers.
  43. $(TARGET).obj : $(TARGET).cpp   $(INCLS)
  44.     echo ++++++++++
  45.     echo Compiling $*.cpp
  46.     cl $(CFLAGS) $(DEFS) $(DOC) $*.cpp
  47.  
  48. client.obj    : client.cpp   $(INCLS)
  49.  
  50. #Document level things
  51. document.obj  : document.cpp $(INCLS) polyline.h
  52.  
  53. dropsrc.obj   : dropsrc.cpp  $(INCLS)
  54. droptgt.obj   : droptgt.cpp  $(INCLS)
  55.  
  56.  
  57. #Editor level things
  58. polyline.obj  : polyline.cpp $(INCLS) polyline.h
  59. polywin.obj   : polywin.cpp  $(INCLS) polyline.h
  60.  
  61.  
  62. #Compound Document Things
  63. iclassf.obj   : iclassf.cpp  $(INCLS)
  64.  
  65. figure.obj    : figure.cpp   $(INCLS)
  66. iperstor.obj  : iperstor.cpp $(INCLS)
  67. idataobj.obj  : idataobj.cpp $(INCLS)
  68. ioleobj.obj   : ioleobj.cpp  $(INCLS)
  69.