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

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