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

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