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

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