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 / chap07 / patron / makefile < prev    next >
Makefile  |  1995-05-03  |  1KB  |  57 lines

  1. #
  2. # MAKEFILE
  3. # Patron Chapter 7
  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  = patron
  16. OUTFILE = patron07.exe
  17. NOOCLIB = 1
  18.  
  19. INCLS    = $(TARGET).h pages.h resource.h
  20.  
  21. OBJS1    = $(TARGET).obj client.obj precomp.obj
  22. OBJS2    = document.obj print.obj
  23. OBJS3    = pages.obj pagewin.obj page.obj
  24. OBJS4    = ""
  25. OBJS5    = ""
  26. OBJS6    = ""
  27. OBJS     = $(OBJS1) $(OBJS2) $(OBJS3)
  28.  
  29. RCFILES1 = $(TARGET).ico document.ico about.dlg print.dlg
  30. RCFILES2 = gizmo72.bmp gizmo96.bmp gizmo120.bmp
  31. RCFILES  = $(RCFILES1) $(RCFILES2)
  32.  
  33. !include "..\\..\\inole-a.mak"
  34. !include "..\\..\\inole-b.mak"
  35.  
  36. ##### Dependencies #####
  37.  
  38. $(TARGET).res : $(TARGET).rc $(INCLS) $(RCFILES)
  39.  
  40. #Application level things
  41. #The file that does #define INITGUIDS should not use precompiled headers.
  42. $(TARGET).obj : $(TARGET).cpp   $(INCLS)
  43.     echo ++++++++++
  44.     echo Compiling $*.cpp
  45.     cl $(CFLAGS) $(DEFS) $(DOC) $*.cpp
  46.  
  47. client.obj    : client.cpp    $(INCLS)
  48.  
  49. #Document level things
  50. document.obj  : document.cpp  $(INCLS)
  51. print.obj     : print.cpp     $(INCLS)
  52.  
  53. #Editor level things
  54. pages.obj     : pages.cpp     $(INCLS)
  55. pagewin.obj   : pagewin.cpp   $(INCLS)
  56. page.obj      : page.cpp      $(INCLS)
  57.