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

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