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

  1. DIRS = \
  2.     ADSCMD\~   \
  3.     ADSQRY\~   \
  4.     bizcard\~   \
  5.     dsbrowse\~   \
  6.     dsconn\~   \
  7.     include\~   \
  8.     VJ\~   \
  9.  
  10.  
  11. SDKPROJ =NetDS\adsi\SAMPAPP
  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.