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

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