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

  1. DIRS = \
  2.     lsapi\~   \
  3.     mmc\~   \
  4.     MSI\~   \
  5.     Setup\~   \
  6.     SMS\~   \
  7.     TaskSched\~   \
  8.  
  9.  
  10. SDKPROJ =SysMgmt
  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.