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

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