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

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