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

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