home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / makefile next >
Makefile  |  1997-10-10  |  1KB  |  52 lines

  1. DIRS = \
  2.     COM\~   \
  3.     ActiveDocument\~   \
  4.     ActiveXControl\~   \
  5.     dcom\~   \
  6.     InOle2\~   \
  7.     MTS\~   \
  8.     OleAut\~   \
  9.     TutSamp\~   \
  10.  
  11.  
  12. SDKPROJ =COM
  13.  
  14.  
  15. #
  16. # This is a Platform SDK non-leaf-node makefile.  It is used to allow NMAKE, 
  17. #  or a similar tool, to recursively build all of the samples in a directory 
  18. #  tree.  To add or remove a directory from the build process, modify the 
  19. #  DIRS list above.  
  20. #
  21. # The SDKPROJ macro (above) is defined solely for the purpose of echoing
  22. #  the current directory location to the screen.  
  23. #
  24. # Do not modify this makefile except for the DIRS and SDKPROJ macros above.
  25. #
  26.  
  27. #
  28. # Include sdkpropbld.mak in order to get standard build options, environment
  29. #  variables, and macros.  The sdkpropbld.mak file is installed with the SDK 
  30. #  in the include directory.
  31.  
  32. !include <sdkpropbld.mak>
  33.  
  34. # In order to build "all," process each of the entries in the DIRS list.
  35. #
  36.  
  37. all: $(DIRS)
  38.  
  39.  
  40. #
  41. # In order to build each of the entries in the DIRS list, change dir into the
  42. #  directory in question, echo the current location, run nmake recursively, 
  43. #  and change dir back to the original directory level.  This four step process 
  44. #  is encapsulated in sdkbld.mak which is installed with the SDK in the include
  45. #  directory.
  46. #
  47.  
  48. $(DIRS):
  49. !include <sdkbld.mak>
  50.