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 / cosmo / makefile < prev    next >
Encoding:
Makefile  |  1995-05-03  |  1.7 KB  |  67 lines

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