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

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