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

  1. #
  2. # MAKEFILE
  3. # Component Cosmo Chapter 5
  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  = cocosmo
  16. OUTFILE = cocosmo5.exe
  17. NOOCLIB = 1
  18. NOUILIB = 1
  19.  
  20. INCLS    = $(TARGET).h resource.h
  21.  
  22. OBJS1    = $(TARGET).obj precomp.obj
  23. OBJS2    = client.obj
  24. OBJS3    = document.obj
  25. OBJS4    = ""
  26. OBJS5    = ""
  27. OBJS6    = ""
  28. OBJS     = $(OBJS1) $(OBJS2) $(OBJS3)
  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. #This rule is to exclude precompiled header use when INITGUIDS defined
  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)
  52.